[rspec-users] unexpected should_receive behaviour
enricostn at gmail.com
Tue Oct 9 12:04:37 UTC 2012
surely I'm missing something... but what!?
in my spec I've
and in my controller
green light... correct...
but if I change my controller using another method, for example first:
I get green light too... I was expecting an error like
expected: 1 time
received: 0 times
could anyone give me a hint to understand that behaviour?
I've opened a question on StackOverflow too:
· Enrico Stano
· twitter @enricostano
· skype ocirneonats
More information about the rspec-users