Sha256: 2ea571c6540361d82190bc3082774569635237d10ebcd9f1680cc1e0168780a4
Contents?: true
Size: 640 Bytes
Versions: 1
Compression:
Stored size: 640 Bytes
Contents
require 'spec_helper' include Serverspec::Helper::Gentoo describe 'Serverspec commands of Gentoo family' do it_behaves_like 'support command check_running_under_supervisor', 'httpd' it_behaves_like 'support command check_monitored_by_monit', 'unicorn' it_behaves_like 'support command check_process', 'httpd' end describe 'check_enabled' do subject { commands.check_enabled('httpd') } it { should eq "rc-update show | grep -- \\^\\\\s\\*httpd\\\\s\\*\\|\\\\s\\*\\\\\\(boot\\\\\\|default\\\\\\)" } end describe 'check_running' do subject { commands.check_running('httpd') } it { should eq '/etc/init.d/httpd status' } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
serverspec-0.6.24 | spec/gentoo/commands_spec.rb |