Sha256: 7de1bd6caac0c128f2521e905847f8ad0fc16a956e5ea7acbd88fdcc79c7370b

Contents?: true

Size: 488 Bytes

Versions: 6

Compression:

Stored size: 488 Bytes

Contents

require 'spec_helper'

set :os, :family => 'opensuse'

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

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

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

Version data entries

6 entries across 6 versions & 1 rubygems

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