From 286f7aaa3a1387b689a6a00db705f15b46579ce6 Mon Sep 17 00:00:00 2001 From: Jorie Tappa Date: Wed, 1 Aug 2018 16:09:42 -0500 Subject: Fix Style/RegexpLiteral violations --- spec/acceptance/tests/resource/cron/should_create_cron.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/acceptance/tests/resource/cron/should_create_cron.rb') diff --git a/spec/acceptance/tests/resource/cron/should_create_cron.rb b/spec/acceptance/tests/resource/cron/should_create_cron.rb index 29dcfc4..d01c091 100644 --- a/spec/acceptance/tests/resource/cron/should_create_cron.rb +++ b/spec/acceptance/tests/resource/cron/should_create_cron.rb @@ -30,6 +30,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, "Incorrect crontab for tstuser on #{host}") + assert_match(%r{\* \* \* \* \* /bin/true}, stdout, "Incorrect crontab for tstuser on #{host}") end end -- cgit v1.2.3