Sha256: 876b391265df0be732b8d454f44cea7c8f5a42efa156cf2a2413537c42b66a7e

Contents?: true

Size: 688 Bytes

Versions: 361

Compression:

Stored size: 688 Bytes

Contents

require 'spec_helper'

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

describe get_command(:enable_service, 'apache2') do
  it { should eq 'update-rc.d apache2 defaults' }
end

describe get_command(:disable_service, 'apache2') do
  it { should eq 'update-rc.d -f apache2 remove' }
end

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

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

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

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

Version data entries

361 entries across 361 versions & 3 rubygems

Version Path
specinfra-2.0.3 spec/command/debian/service_spec.rb
specinfra-2.0.2 spec/command/debian/service_spec.rb
specinfra-2.0.1 spec/command/debian/service_spec.rb
specinfra-2.0.0 spec/command/debian/service_spec.rb
specinfra-2.0.0.beta52 spec/command/debian/service_spec.rb
specinfra-2.0.0.beta51 spec/command/debian/service_spec.rb
specinfra-2.0.0.beta50 spec/command/debian/service_spec.rb
specinfra-2.0.0.beta49 spec/command/debian/service_spec.rb
specinfra-2.0.0.beta48 spec/command/debian/service_spec.rb
specinfra-2.0.0.beta47 spec/command/debian/service_spec.rb
specinfra-2.0.0.beta46 spec/command/debian/service_spec.rb
specinfra-2.0.0.beta45 spec/command/debian/service_spec.rb
specinfra-2.0.0.beta44 spec/command/debian/service_spec.rb
specinfra-2.0.0.beta43 spec/command/debian/service_spec.rb
specinfra-2.0.0.beta42 spec/command/debian/service_spec.rb
specinfra-2.0.0.beta41 spec/command/debian/service_spec.rb
specinfra-2.0.0.beta40 spec/command/debian/service_spec.rb
specinfra-2.0.0.beta39 spec/command/debian/service_spec.rb
specinfra-2.0.0.beta38 spec/command/debian/service_spec.rb
specinfra-2.0.0.beta37 spec/command/debian/service_spec.rb