Sha256: 3f7232786fff91041ab8a0446d1b43349c819b3989fc2c48dd5f92b8b0641b7c

Contents?: true

Size: 561 Bytes

Versions: 132

Compression:

Stored size: 561 Bytes

Contents

require 'spec_helper'

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

describe get_command(:enable_service, 'nginx') do
  it { should eq 'rc-update add nginx' }
end

describe get_command(:disable_service, 'nginx') do
  it { should eq 'rc-update del nginx' }
end

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

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

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

Version data entries

132 entries across 132 versions & 1 rubygems

Version Path
specinfra-2.60.2 spec/command/alpine/service_spec.rb
specinfra-2.60.1 spec/command/alpine/service_spec.rb
specinfra-2.60.0 spec/command/alpine/service_spec.rb
specinfra-2.59.6 spec/command/alpine/service_spec.rb
specinfra-2.59.5 spec/command/alpine/service_spec.rb
specinfra-2.59.4 spec/command/alpine/service_spec.rb
specinfra-2.59.3 spec/command/alpine/service_spec.rb
specinfra-2.59.2 spec/command/alpine/service_spec.rb
specinfra-2.59.1 spec/command/alpine/service_spec.rb
specinfra-2.59.0 spec/command/alpine/service_spec.rb
specinfra-2.58.0 spec/command/alpine/service_spec.rb
specinfra-2.57.5 spec/command/alpine/service_spec.rb