diff options
author | Jorie Tappa <jorie@jorietappa.com> | 2018-08-01 11:27:33 -0500 |
---|---|---|
committer | Jorie Tappa <jorie@jorietappa.com> | 2018-08-01 11:27:33 -0500 |
commit | 96d65f6d51da6b4798c81a717fb1a0d68c4c90e1 (patch) | |
tree | ba8045d45bd4919faebcd1a3442fac8e0d78cba6 /spec/unit/type | |
parent | 2164cbe478d0d95568832c9de45a66b3ead21301 (diff) | |
download | puppet-cron_core-96d65f6d51da6b4798c81a717fb1a0d68c4c90e1.tar.gz puppet-cron_core-96d65f6d51da6b4798c81a717fb1a0d68c4c90e1.tar.bz2 |
Fix RSpec/RepeatedExample violations
Diffstat (limited to 'spec/unit/type')
-rw-r--r-- | spec/unit/type/cron_spec.rb | 2 |
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 |