spec/musterb/object_extractor_spec.rb in musterb-0.0.1 vs spec/musterb/object_extractor_spec.rb in musterb-0.0.2

- old
+ new

@@ -1,11 +1,11 @@ -describe ObjectExtractor do +describe Musterb::ObjectExtractor do it "calls methods on the object" do - extractor = ObjectExtractor.new(2, nil) + extractor = Musterb::ObjectExtractor.new(2, nil) extractor["to_s"].should eq "2" end it "delegates to the parent if there it doesn't respnd to something" do - extractor = ObjectExtractor.new(2, ObjectExtractor.new("string", nil)) + extractor = Musterb::ObjectExtractor.new(2, Musterb::ObjectExtractor.new("string", nil)) extractor["upcase"].should eq "STRING" end end \ No newline at end of file