diff --git a/spec/coobooks/main_spec.rb b/spec/coobooks/main_spec.rb index 5a82025..cc33851 100644 --- a/spec/coobooks/main_spec.rb +++ b/spec/coobooks/main_spec.rb @@ -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