Sha256: 92c58ec590234e07425a360a16d4a8f7161168304a554707d20ee2b576560a29

Contents?: true

Size: 288 Bytes

Versions: 5

Compression:

Stored size: 288 Bytes

Contents

require 'spec_helper'

set :os, :family => 'redhat', :release => 7

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

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