diff options
Diffstat (limited to 'spec/unit')
-rw-r--r-- | spec/unit/compile_spec.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/spec/unit/compile_spec.rb b/spec/unit/compile_spec.rb index 8960455cf6..49d5930acb 100644 --- a/spec/unit/compile_spec.rb +++ b/spec/unit/compile_spec.rb @@ -57,11 +57,12 @@ describe Chef::Compile do it "should load all the recipes specified for this node" do @compile.load_node("compile") @compile.load_definitions - lambda { @compile.load_recipes }.should_not raise_error - @compile.resource_collection[0].to_s.should == "cat[loulou]" - @compile.resource_collection[1].to_s.should == "cat[birthday]" - @compile.resource_collection[2].to_s.should == "cat[peanut]" - @compile.resource_collection[3].to_s.should == "cat[fat peanut]" + lambda { @compile.load_recipes }.should_not raise_error + @compile.resource_collection[0].to_s.should == "cat[einstein]" + @compile.resource_collection[1].to_s.should == "cat[loulou]" + @compile.resource_collection[2].to_s.should == "cat[birthday]" + @compile.resource_collection[3].to_s.should == "cat[peanut]" + @compile.resource_collection[4].to_s.should == "cat[fat peanut]" end end
\ No newline at end of file |