Sha256: 9efefcff6babc8c763ca0fb5b84e31215f995a0f876b53506c8c5d7052bfd58e

Contents?: true

Size: 321 Bytes

Versions: 5

Compression:

Stored size: 321 Bytes

Contents

require 'spec_helper'

set :os, :family => 'plamo'

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

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

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