use #super from #method_missing instead of method aliasing

This commit is contained in:
josh committed 2014-03-26 11:23:32 -04:00
1 parent 533ee9c16c
commit 92a9982988
2 files changed
+2 -4

No files matched your search

+1 -2
View File
@@ -249,8 +249,7 @@ module Rscons
describe "#method_missing" do
it "calls the original method missing when the target method is not a known builder" do
env = Environment.new
env.should_receive(:orig_method_missing).with(:foobar)
env.foobar
expect {env.foobar}.to raise_error /undefined method .foobar./
end
it "records the target when the target method is a known builder" do