Sha256: 890efdf8ae10edb2c77bb88f964c5b1272c1072d3db6758e4fced9734de5a8da

Contents?: true

Size: 458 Bytes

Versions: 5

Compression:

Stored size: 458 Bytes

Contents

require 'spec_helper'

set :os, :family => 'gentoo'

describe commands.command_class('service').create do
  it { should be_an_instance_of(Specinfra::Command::Gentoo::Base::Service) }
end

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

5 entries across 5 versions & 1 rubygems

Version Path
serverspec-2.0.0.beta13 spec/type/gentoo/service_spec.rb
serverspec-2.0.0.beta12 spec/type/gentoo/service_spec.rb
serverspec-2.0.0.beta11 spec/type/gentoo/service_spec.rb
serverspec-2.0.0.beta10 spec/type/gentoo/service_spec.rb
serverspec-2.0.0.beta9 spec/type/gentoo/service_spec.rb