Sha256: 49afae307b10c1885704e58b9d7121aa4d9d660e82d0e0524aeb0962f878efda
Contents?: true
Size: 431 Bytes
Versions: 6
Compression:
Stored size: 431 Bytes
Contents
require 'spec_helper' include Specinfra::Helper::RedHat describe cron do it { should have_entry '* * * * * /usr/local/bin/batch.sh' } end describe cron do it { should_not have_entry 'invalid entry' } end describe cron do it { should have_entry('* * * * * /usr/local/bin/batch.sh').with_user('root') } end describe cron do it { should_not have_entry('* * * * * /usr/local/bin/batch.sh').with_user('invalid-user') } end
Version data entries
6 entries across 6 versions & 1 rubygems