Matt Wynne wrote: > It would be really helpful if you could file a bug report so that > people can get onto fixing it: > http://rspec.lighthouseapp.com/projects/5645-rspec/tickets/new
Yep I'm trying to narrow it down to the simplest repro case. Unfortunately I can only reproduce it in my rails app. I was causing the problem by calling should_receive in a meaningless way: template.should_receive(:current_user, 2).and_return(@user) Instead of: template.should_receive(:current_user).twice.and_return(@user) But the way RSpec handles this problem in my app is a bug that I'll submit with as much info to try and help someone narrow it down. -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
