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.42.3 spec/type/base/cron_spec.rb
serverspec-2.42.2 spec/type/base/cron_spec.rb
serverspec-2.42.1 spec/type/base/cron_spec.rb
serverspec-cem-acpt-2.42.0 spec/type/base/cron_spec.rb
serverspec-2.42.0 spec/type/base/cron_spec.rb
serverspec-2.41.8 spec/type/base/cron_spec.rb
serverspec-2.41.7 spec/type/base/cron_spec.rb
serverspec-2.41.6 spec/type/base/cron_spec.rb
serverspec-2.41.5 spec/type/base/cron_spec.rb
serverspec-2.41.4 spec/type/base/cron_spec.rb
serverspec-ruby19-2.24.3 spec/type/base/cron_spec.rb
serverspec-2.41.3 spec/type/base/cron_spec.rb
serverspec-2.41.2 spec/type/base/cron_spec.rb
serverspec-2.41.1 spec/type/base/cron_spec.rb
serverspec-2.41.0 spec/type/base/cron_spec.rb
serverspec-2.40.0 spec/type/base/cron_spec.rb
serverspec-2.39.2 spec/type/base/cron_spec.rb
serverspec-2.39.1 spec/type/base/cron_spec.rb
serverspec-2.39.0 spec/type/base/cron_spec.rb
serverspec-2.38.1 spec/type/base/cron_spec.rb