Sha256: d6742e9cededff9f0693251bf49265d87800c2e71576bcbd0ada130854bd153e

Contents?: true

Size: 479 Bytes

Versions: 5

Compression:

Stored size: 479 Bytes

Contents

require 'spec_helper'

set :os, :family => 'aix'

describe commands.command_class('service').create do
  it { should be_an_instance_of(Specinfra::Command::Aix::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_enabled.with_level(4) }
end

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

Version data entries

5 entries across 5 versions & 1 rubygems

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