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.38.0 spec/type/base/cron_spec.rb
serverspec-2.37.2 spec/type/base/cron_spec.rb
serverspec-2.37.1 spec/type/base/cron_spec.rb
serverspec-2.37.0 spec/type/base/cron_spec.rb
serverspec-2.36.1 spec/type/base/cron_spec.rb
serverspec-2.36.0 spec/type/base/cron_spec.rb
serverspec-2.35.0 spec/type/base/cron_spec.rb
serverspec-2.34.0 spec/type/base/cron_spec.rb
serverspec-2.33.0 spec/type/base/cron_spec.rb
serverspec-2.32.0 spec/type/base/cron_spec.rb
serverspec-2.31.1 spec/type/base/cron_spec.rb
serverspec-2.31.0 spec/type/base/cron_spec.rb
serverspec-2.30.1 spec/type/base/cron_spec.rb
serverspec-2.30.0 spec/type/base/cron_spec.rb
serverspec-2.29.2 spec/type/base/cron_spec.rb
serverspec-2.29.1 spec/type/base/cron_spec.rb
serverspec-2.29.0 spec/type/base/cron_spec.rb
serverspec-2.28.0 spec/type/base/cron_spec.rb
serverspec-2.27.0 spec/type/base/cron_spec.rb
serverspec-2.26.0 spec/type/base/cron_spec.rb