Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Infinite loop generated by using any_instance and dup #120
I believe I've run into a bug while trying to get #119 to work. The following code causes the ruby process to hang, eventually throwing
it "should play nicely with dup" do Object.any_instance.stub(:some_method) o = Object.new o.some_method o.dup.some_method end