Skip to content

Commit 64887b5

Browse files
committed
Replace assert_no_match
The assert_no_match method in Beaker was long deprecated then eventually removed altogether in voxpupuli/beaker@6282311 This commit updates assert_no_match to refute_match.
1 parent 0876962 commit 64887b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/acceptance/tests/resource/cron/should_only_fail_associated_resources_on_file_read_error_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
end
101101

102102
step 'Verify that Puppet does not fail a Cron resource associated with a readable crontab file' do
103-
assert_no_match(%r{Cron.*first_entry}, puppet_result.stderr, 'Puppet fails a Cron resource associated with a readable crontab file')
103+
refute_match(%r{Cron.*first_entry}, puppet_result.stderr, 'Puppet fails a Cron resource associated with a readable crontab file')
104104
end
105105

106106
step 'Verify that Puppet successfully evaluates a Cron resource associated with a readable crontab file' do

0 commit comments

Comments
 (0)