Sha256: 438834771594f875b5c8225aeecee14548093cc4bc4b8720318bcf4b15ca3378

Contents?: true

Size: 239 Bytes

Versions: 85

Compression:

Stored size: 239 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 have_entry('* * * * * /usr/local/bin/batch.sh').with_user('root') }
end

Version data entries

85 entries across 85 versions & 4 rubygems

Version Path
serverspec-2.1.0 spec/type/base/cron_spec.rb
serverspec-2.0.1 spec/type/base/cron_spec.rb
serverspec-2.0.0 spec/type/base/cron_spec.rb
serverspec-2.0.0.beta21 spec/type/base/cron_spec.rb
serverspec-2.0.0.beta20 spec/type/base/cron_spec.rb