aboutsummaryrefslogtreecommitdiff
path: root/spec/integration/provider/cron/crontab_spec.rb
diff options
context:
space:
mode:
authorJorie Tappa <jorie@jorietappa.com>2018-08-01 11:27:33 -0500
committerJorie Tappa <jorie@jorietappa.com>2018-08-01 11:27:33 -0500
commit96d65f6d51da6b4798c81a717fb1a0d68c4c90e1 (patch)
treeba8045d45bd4919faebcd1a3442fac8e0d78cba6 /spec/integration/provider/cron/crontab_spec.rb
parent2164cbe478d0d95568832c9de45a66b3ead21301 (diff)
downloadpuppet-cron_core-96d65f6d51da6b4798c81a717fb1a0d68c4c90e1.tar.gz
puppet-cron_core-96d65f6d51da6b4798c81a717fb1a0d68c4c90e1.tar.bz2
Fix RSpec/RepeatedExample violations
Diffstat (limited to 'spec/integration/provider/cron/crontab_spec.rb')
-rw-r--r--spec/integration/provider/cron/crontab_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/integration/provider/cron/crontab_spec.rb b/spec/integration/provider/cron/crontab_spec.rb
index 0148d0c..c9661e4 100644
--- a/spec/integration/provider/cron/crontab_spec.rb
+++ b/spec/integration/provider/cron/crontab_spec.rb
@@ -136,13 +136,13 @@ describe Puppet::Type.type(:cron).provider(:crontab), '(integration)', unless: P
it "works correctly when managing 'target' but not 'user'" do
apply_with_error_check(<<-MANIFEST)
cron {
- 'My daily failure':
- special => 'daily',
+ 'My weekly failure':
+ special => 'weekly',
command => '/bin/false',
target => '#{crontab_user1}',
}
MANIFEST
- expect_output('crontab_user1')
+ expect_output('crontab_user3')
end
it 'does nothing if a matching entry already present' do