aboutsummaryrefslogtreecommitdiff
path: root/spec/unit/type/cron_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/type/cron_spec.rb')
-rw-r--r--spec/unit/type/cron_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/type/cron_spec.rb b/spec/unit/type/cron_spec.rb
index e80ccb9..f60468a 100644
--- a/spec/unit/type/cron_spec.rb
+++ b/spec/unit/type/cron_spec.rb
@@ -46,7 +46,7 @@ describe Puppet::Type.type(:cron), unless: Puppet.features.microsoft_windows? do
end
it 'supports absent as a value for ensure' do
- expect { described_class.new(name: 'foo', ensure: :present) }.not_to raise_error
+ expect { described_class.new(name: 'foo', ensure: :absent) }.not_to raise_error
end
it 'does not support other values' do