Sha256: d673e8bcf9e706aa1e89e774bcf5cecce5f8e15e80928c56db63a0344b9c391b

Contents?: true

Size: 887 Bytes

Versions: 184

Compression:

Stored size: 887 Bytes

Contents

require 'spec_helper'

property[:os] = nil
set :os, :family => 'openbsd', :release => '5.7'

describe get_command(:check_service_is_enabled, 'httpd') do
  it { should eq 'rcctl get httpd status' }
end

describe get_command(:check_service_is_running, 'httpd') do
  it { should eq 'rcctl check httpd' }
end

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

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

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

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

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

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

Version data entries

184 entries across 184 versions & 2 rubygems

Version Path
specinfra-2.82.5 spec/command/openbsd57/service_spec.rb
specinfra-2.82.4 spec/command/openbsd57/service_spec.rb
specinfra-2.82.3 spec/command/openbsd57/service_spec.rb
specinfra-2.82.2 spec/command/openbsd57/service_spec.rb
specinfra-2.82.1 spec/command/openbsd57/service_spec.rb
specinfra-2.82.0 spec/command/openbsd57/service_spec.rb
specinfra-2.81.0 spec/command/openbsd57/service_spec.rb
specinfra-2.80.0 spec/command/openbsd57/service_spec.rb
specinfra-2.79.0 spec/command/openbsd57/service_spec.rb
specinfra-2.78.2 spec/command/openbsd57/service_spec.rb
specinfra-2.78.1 spec/command/openbsd57/service_spec.rb
specinfra-2.78.0 spec/command/openbsd57/service_spec.rb
specinfra-2.77.3 spec/command/openbsd57/service_spec.rb
specinfra-2.77.2 spec/command/openbsd57/service_spec.rb
specinfra-2.77.1 spec/command/openbsd57/service_spec.rb
specinfra-2.77.0 spec/command/openbsd57/service_spec.rb
specinfra-2.76.9 spec/command/openbsd57/service_spec.rb
specinfra-2.76.8 spec/command/openbsd57/service_spec.rb
specinfra-2.76.7 spec/command/openbsd57/service_spec.rb
specinfra-2.76.6 spec/command/openbsd57/service_spec.rb