Sha256: 31d547c00a7a60633250e7c71aed5900b14057e9aca04669ff424f03cbeaed61
Contents?: true
Size: 559 Bytes
Versions: 16
Compression:
Stored size: 559 Bytes
Contents
shared_examples_for 'support cron have_entry matcher' do |entry| describe 'have_cron_entry' do describe cron do it { should have_entry entry } end describe cron do 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_entry(entry).with_user(user) } end describe cron do it { should_not have_entry('invalid entry').with_user(user) } end end end
Version data entries
16 entries across 16 versions & 1 rubygems