aboutsummaryrefslogtreecommitdiff
path: root/spec/acceptance/tests/resource/cron/should_match_existing.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/acceptance/tests/resource/cron/should_match_existing.rb')
-rw-r--r--spec/acceptance/tests/resource/cron/should_match_existing.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/acceptance/tests/resource/cron/should_match_existing.rb b/spec/acceptance/tests/resource/cron/should_match_existing.rb
index d309a84..96545e3 100644
--- a/spec/acceptance/tests/resource/cron/should_match_existing.rb
+++ b/spec/acceptance/tests/resource/cron/should_match_existing.rb
@@ -31,6 +31,6 @@ agents.each do |host|
step 'Verify that crontab -l contains what you expected'
run_cron_on(host, :list, 'tstuser') do
- assert_match(/\* \* \* \* \* \/bin\/true/, stdout, "Did not find crontab for tstuser on #{host}")
+ assert_match(%r{\* \* \* \* \* /bin/true}, stdout, "Did not find crontab for tstuser on #{host}")
end
end