Sha256: b2305b072fa012a0c6f618e88b96876375b516bc6b9526d39c38f6b4b8d83d2d

Contents?: true

Size: 460 Bytes

Versions: 5

Compression:

Stored size: 460 Bytes

Contents

require 'spec_helper'

set :os, :family => 'openbsd'

describe commands.command_class('service').create do
  it { should be_an_instance_of(Specinfra::Command::Openbsd::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/openbsd/service_spec.rb
serverspec-2.0.0.beta12 spec/type/openbsd/service_spec.rb
serverspec-2.0.0.beta11 spec/type/openbsd/service_spec.rb
serverspec-2.0.0.beta10 spec/type/openbsd/service_spec.rb
serverspec-2.0.0.beta9 spec/type/openbsd/service_spec.rb