Sha256: e4c4bbce5c94646482e3b1fe1a4c8050a03149669ababc8e0f890a2a5fedf962

Contents?: true

Size: 322 Bytes

Versions: 5

Compression:

Stored size: 322 Bytes

Contents

require 'spec_helper'

set :os, :family => 'ubuntu'

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