spec/schematic/generator/sandbox_spec.rb in schematic-0.5.5 vs spec/schematic/generator/sandbox_spec.rb in schematic-0.5.6
- old
+ new
@@ -75,21 +75,6 @@
end
subject.required_elements.should include(:foo)
subject.required_elements.should include(:bar)
end
end
-
- describe "methods on original object get called when not difined in sandbox module" do
- before do
- klass.stub(:foo)
- end
-
- it "should delegate missing methods to klass" do
- klass.should_receive(:foo)
-
- subject.run do
- self.foo
- end
- end
- end
end
-