I'd like to know how to debug callers with message expectations. I
have a message expectation that should be called only once but for
some reason is called 13 times and I'd like to know where it's called
from. I've made the expectation return the value with a block and made
it print the call stack but it only prints one stack, not 13 stacks as
I would have thought. Why is that?

The relevant code is here: https://gist.github.com/026a6c696e2199a46455.
I am using rails 3.0.1 and rspec 2.0.1.

- Toni
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to