Sha256: d8003f6f0fb00245a6c7c82d46322e8fff4dc134e182d0b4db71fb29f53577a1

Contents?: true

Size: 323 Bytes

Versions: 6

Compression:

Stored size: 323 Bytes

Contents

require 'spec_helper'

set :os, :family => 'gentoo'

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_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/gentoo/service_spec.rb
serverspec-2.0.0.beta18 spec/type/gentoo/service_spec.rb
serverspec-2.0.0.beta17 spec/type/gentoo/service_spec.rb
serverspec-2.0.0.beta16 spec/type/gentoo/service_spec.rb
serverspec-2.0.0.beta15 spec/type/gentoo/service_spec.rb
serverspec-2.0.0.beta14 spec/type/gentoo/service_spec.rb