diff options
author | Adam Jacob <adam@hjksolutions.com> | 2008-04-08 01:00:42 -0700 |
---|---|---|
committer | Adam Jacob <adam@hjksolutions.com> | 2008-04-08 01:00:42 -0700 |
commit | fcfa481251fcf0cf11233783ab4206ba3c035fd1 (patch) | |
tree | c3e4fad1a137d469d0fbd70d5b236e2c3eb8c027 /spec | |
parent | 872c3a44da9279aadcb7ddf418e32329abdd25ef (diff) | |
download | chef-fcfa481251fcf0cf11233783ab4206ba3c035fd1.tar.gz |
removing left over debug output in compile_spec
Diffstat (limited to 'spec')
-rw-r--r-- | spec/data/compile/nodes/compile.rb | 2 | ||||
-rw-r--r-- | spec/unit/compile_spec.rb | 11 |
2 files changed, 7 insertions, 6 deletions
diff --git a/spec/data/compile/nodes/compile.rb b/spec/data/compile/nodes/compile.rb index 7f0664d5d6..84d52bb1cf 100644 --- a/spec/data/compile/nodes/compile.rb +++ b/spec/data/compile/nodes/compile.rb @@ -2,4 +2,4 @@ # Nodes should have a unique name ## name "compile" -recipes "test::one", "test::two" +recipes "test", "test::one", "test::two" 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 |