spec/support/shared_cron_examples.rb in serverspec-0.5.8 vs spec/support/shared_cron_examples.rb in serverspec-0.6.0

- old
+ new

@@ -1,23 +1,23 @@ shared_examples_for 'support cron have_entry matcher' do |entry| describe 'have_cron_entry' do describe cron do - it { should have_cron_entry entry } + it { should have_entry entry } end describe cron do - it { should_not have_cron_entry 'invalid entry' } + it { should_not have_entry 'invalid entry' } end end end shared_examples_for 'support cron have_entry with user matcher' do |entry, user| describe 'have_cron_entry' do describe cron do - it { should have_cron_entry(entry).with_user(user) } + it { should have_entry(entry).with_user(user) } end describe cron do - it { should_not have_cron_entry('invalid entry').with_user(user) } + it { should_not have_entry('invalid entry').with_user(user) } end end end