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.82.5 spec/command/alpine/service_spec.rb
specinfra-2.82.4 spec/command/alpine/service_spec.rb
specinfra-2.82.3 spec/command/alpine/service_spec.rb
specinfra-2.82.2 spec/command/alpine/service_spec.rb
specinfra-2.82.1 spec/command/alpine/service_spec.rb
specinfra-2.82.0 spec/command/alpine/service_spec.rb
specinfra-2.81.0 spec/command/alpine/service_spec.rb
specinfra-2.80.0 spec/command/alpine/service_spec.rb
specinfra-2.79.0 spec/command/alpine/service_spec.rb
specinfra-2.78.2 spec/command/alpine/service_spec.rb
specinfra-2.78.1 spec/command/alpine/service_spec.rb
specinfra-2.78.0 spec/command/alpine/service_spec.rb
specinfra-2.77.3 spec/command/alpine/service_spec.rb
specinfra-2.77.2 spec/command/alpine/service_spec.rb
specinfra-2.77.1 spec/command/alpine/service_spec.rb
specinfra-2.77.0 spec/command/alpine/service_spec.rb
specinfra-2.76.9 spec/command/alpine/service_spec.rb
specinfra-2.76.8 spec/command/alpine/service_spec.rb
specinfra-2.76.7 spec/command/alpine/service_spec.rb
specinfra-2.76.6 spec/command/alpine/service_spec.rb