Sha256: 01b629895bc1d9eeffaac5d8dfaeed7b2b123dfdf43643c6526932bd0500db8b

Contents?: true

Size: 350 Bytes

Versions: 6

Compression:

Stored size: 350 Bytes

Contents

require 'spec_helper'

set :os, :family => 'redhat'

describe service('sshd') do
  it { should be_enabled }
end

describe service('invalid-service') do
  it { should_not be_enabled }
end

describe service('sshd') do
  it { should be_enabled.with_level(4) }
end

describe service('invalid-service') do
  it { should_not be_enabled.with_level(4) }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
serverspec-2.0.0.beta19 spec/type/redhat/service_spec.rb
serverspec-2.0.0.beta18 spec/type/redhat/service_spec.rb
serverspec-2.0.0.beta17 spec/type/redhat/service_spec.rb
serverspec-2.0.0.beta16 spec/type/redhat/service_spec.rb
serverspec-2.0.0.beta15 spec/type/redhat/service_spec.rb
serverspec-2.0.0.beta14 spec/type/redhat/service_spec.rb