From 00c012cd3430f6f61822684a31f566ee83062374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 22 Jan 2014 10:31:55 +0100 Subject: [PATCH] main_spec: remove deprecated syntax --- spec/coobooks/main_spec.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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