Sha256: 0dd2758754c5351f909de3a424d8902d4b610c6ab06789829e38eb7ce3debded

Contents?: true

Size: 648 Bytes

Versions: 361

Compression:

Stored size: 648 Bytes

Contents

require 'spec_helper'

property[:os] = nil
set :os, :family => 'redhat'

describe get_command(:enable_service, 'httpd') do
  it { should eq 'chkconfig httpd on' }
end

describe get_command(:disable_service, 'httpd') do
  it { should eq 'chkconfig httpd off' }
end

describe get_command(:start_service, 'httpd') do
  it { should eq 'service httpd start' }
end

describe get_command(:stop_service, 'httpd') do
  it { should eq 'service httpd stop' }
end

describe get_command(:restart_service, 'httpd') do
  it { should eq 'service httpd restart' }
end

describe get_command(:reload_service, 'httpd') do
  it { should eq 'service httpd reload' }
end

Version data entries

361 entries across 361 versions & 3 rubygems

Version Path
specinfra-2.91.0 spec/command/redhat/service_spec.rb
specinfra-2.90.1 spec/command/redhat/service_spec.rb
specinfra-2.90.0 spec/command/redhat/service_spec.rb
specinfra-2.89.0 spec/command/redhat/service_spec.rb
specinfra-2.88.2 spec/command/redhat/service_spec.rb
specinfra-2.88.1 spec/command/redhat/service_spec.rb
specinfra-2.88.0 spec/command/redhat/service_spec.rb
specinfra-2.87.2 spec/command/redhat/service_spec.rb
specinfra-2.87.1 spec/command/redhat/service_spec.rb
specinfra-2.87.0 spec/command/redhat/service_spec.rb
specinfra-2.86.0 spec/command/redhat/service_spec.rb
specinfra-2.85.1 spec/command/redhat/service_spec.rb
specinfra-2.85.0 spec/command/redhat/service_spec.rb
specinfra-2.84.1 spec/command/redhat/service_spec.rb
specinfra-2.84.0 spec/command/redhat/service_spec.rb
specinfra-2.83.4 spec/command/redhat/service_spec.rb
specinfra-2.83.3 spec/command/redhat/service_spec.rb
specinfra-2.83.2 spec/command/redhat/service_spec.rb
specinfra-2.83.1 spec/command/redhat/service_spec.rb
specinfra-2.83.0 spec/command/redhat/service_spec.rb