Sha256: ac2cd2b980ef6068ce659afae6a8d5b03afda1040499dde4371ed74a3d30f8d0
Contents?: true
Size: 424 Bytes
Versions: 6
Compression:
Stored size: 424 Bytes
Contents
require 'spec_helper' set :os, :family => 'base' 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