main_spec: remove deprecated syntax

This commit is contained in:
Jörg Thalheim 2014-01-22 10:31:55 +01:00
parent 290d65c049
commit 00c012cd34
1 changed files with 5 additions and 5 deletions

View File

@ -12,9 +12,9 @@ describe 'main::head_node' do
end.converge(described_recipe)
end
it "should include cookbooks" do
expect(chef_run).should include_recipe('ntp')
expect(chef_run).should include_recipe('bind')
expect(chef_run).should include_recipe('dhcp')
chef_run.should include_recipe('ntp')
chef_run.should include_recipe('bind')
chef_run.should include_recipe('dhcp')
end
end
@ -24,7 +24,7 @@ describe 'main::compute_node' do
end.converge(described_recipe)
end
it "should include cookbooks" do
expect(chef_run).should include_recipe('apt')
expect(chef_run).should include_recipe('ntp')
chef_run.should include_recipe('apt')
chef_run.should include_recipe('ntp')
end
end