examples/rr/double_dispatching_example.rb in rr-0.1.6 vs examples/rr/double_dispatching_example.rb in rr-0.1.7

- old
+ new

@@ -1,7 +1,6 @@ -dir = File.dirname(__FILE__) -require "#{dir}/../example_helper" +require "examples/example_helper" module RR describe Double, "method dispatching", :shared => true do before do @space = Space.new @@ -22,10 +21,10 @@ end it "executes the block" do scenario = @space.create_scenario(@double) scenario.with(1, 2) {:return_value} - @object.foobar!(1, 2).should == :return_value + @object.foobar!(1, 2).should == :return_value end end describe Double, " method dispatching where method name has a ? in it" do before do