main_spec: remove deprecated syntax
This commit is contained in:
parent
290d65c049
commit
00c012cd34
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user