Signed-off-by: Luke Kanies <[email protected]>
---
 spec/unit/resource/reference.rb |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/spec/unit/resource/reference.rb b/spec/unit/resource/reference.rb
index fef48bb..7a97045 100755
--- a/spec/unit/resource/reference.rb
+++ b/spec/unit/resource/reference.rb
@@ -96,16 +96,16 @@ describe Puppet::Resource::Reference do
     it "should not be considered equivalent to another reference if their 
titles do not match" do
         Puppet::Resource::Reference.new("file", "/foo").should_not == 
Puppet::Resource::Reference.new("file", "/f")
     end
-end
 
-describe Puppet::Resource::Reference, "when resolving resources with a 
catalog" do
-    it "should resolve all resources using the catalog" do
-        config = mock 'catalog'
-        ref = Puppet::Resource::Reference.new("foo::bar", "yay")
-        ref.catalog = config
+    describe "when resolving resources with a catalog" do
+        it "should resolve all resources using the catalog" do
+            config = mock 'catalog'
+            ref = Puppet::Resource::Reference.new("foo::bar", "yay")
+            ref.catalog = config
 
-        config.expects(:resource).with("Foo::Bar[yay]").returns(:myresource)
+            
config.expects(:resource).with("Foo::Bar[yay]").returns(:myresource)
 
-        ref.resolve.should == :myresource
+            ref.resolve.should == :myresource
+        end
     end
 end
-- 
1.6.1

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to