spec/redhat/service_spec.rb in serverspec-0.6.25 vs spec/redhat/service_spec.rb in serverspec-0.6.26

- old
+ new

@@ -33,16 +33,10 @@ let(:stdout) { "sshd is stopped\r\n" } it { should be_running } end describe service('sshd') do - let(:stdout) { "sshd RUNNING\r\n" } it { should be_running.under('supervisor') } -end - -describe service('sshd') do - let(:stdout) { "sshd STOPPED\r\n" } - it { should_not be_running.under('supervisor') } end describe service('invalid-daemon') do it { should_not be_running.under('supervisor') } end