Sha256: 7ea17ffb7221836606b8f602d47c7c6fa4a679c6164e677ac583a73ae9cc4d17

Contents?: true

Size: 381 Bytes

Versions: 5

Compression:

Stored size: 381 Bytes

Contents

require 'spec_helper'

set :os, :family => 'fedora'

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

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

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

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