Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Commit

Permalink
Fixed service autorestart spec test
Browse files Browse the repository at this point in the history
  • Loading branch information
alvagante committed Mar 8, 2013
1 parent ee74c70 commit 0ff13bd
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions spec/classes/lighttpd_spec.rb
Expand Up @@ -126,11 +126,8 @@
end
end

describe 'Test service autorestart', :broken => true do
it 'should automatically restart the service, by default' do
content = catalogue.resource('file', 'lighttpd.conf').send(:parameters)[:notify]
content.should == 'Service[lighttpd]{:name=>"lighttpd"}'
end
describe 'Test service autorestart' do
it { should contain_file('lighttpd.conf').with_notify('Service[lighttpd]') }
end

describe 'Test service autorestart' do
Expand Down

0 comments on commit 0ff13bd

Please sign in to comment.