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.91.0 spec/command/alpine/service_spec.rb
specinfra-2.90.1 spec/command/alpine/service_spec.rb
specinfra-2.90.0 spec/command/alpine/service_spec.rb
specinfra-2.89.0 spec/command/alpine/service_spec.rb
specinfra-2.88.2 spec/command/alpine/service_spec.rb
specinfra-2.88.1 spec/command/alpine/service_spec.rb
specinfra-2.88.0 spec/command/alpine/service_spec.rb
specinfra-2.87.2 spec/command/alpine/service_spec.rb
specinfra-2.87.1 spec/command/alpine/service_spec.rb
specinfra-2.87.0 spec/command/alpine/service_spec.rb
specinfra-2.86.0 spec/command/alpine/service_spec.rb
specinfra-2.85.1 spec/command/alpine/service_spec.rb
specinfra-2.85.0 spec/command/alpine/service_spec.rb
specinfra-2.84.1 spec/command/alpine/service_spec.rb
specinfra-2.84.0 spec/command/alpine/service_spec.rb
specinfra-2.83.4 spec/command/alpine/service_spec.rb
specinfra-2.83.3 spec/command/alpine/service_spec.rb
specinfra-2.83.2 spec/command/alpine/service_spec.rb
specinfra-2.83.1 spec/command/alpine/service_spec.rb
specinfra-2.83.0 spec/command/alpine/service_spec.rb