[rspec-users] Specs with -X fail

Scott Taylor mailing_lists at railsnewbie.com
Wed Oct 24 21:36:15 EDT 2007


On Oct 24, 2007, at 9:03 PM, Steve wrote:

> I have some specs that run just fine using "rake spec:controllers" or
> "script/spec spec/controllers" but if I run "script/spec spec/ 
> controllers
> -X" with the spec server running, I end up getting some mocks that  
> fail
> saying expected once, and being called twice. Any ideas what would  
> cause
> this kind of behavior? It kind of gives cause to not trust my  
> specs. Which
> one is correct? The one that is successful, or the one that is  
> failing?
>

Did you try restarting the drb server?

Scott




More information about the rspec-users mailing list