'sript/console test' with spork and rspec not loading the whole environment?

Posted by TheDeeno on Stack Overflow See other posts from Stack Overflow or by TheDeeno
Published on 2010-06-07T04:07:29Z Indexed on 2010/06/07 4:12 UTC
Read the original article Hit count: 375

I'm trying to load up console to interact with some of my rspec mocking helpers. I expected that running script/console test would load an env similar to when I run spec. However, this doesn't appear to be the case. It looks like spec_helper is never loaded. Or, if it is, it's not actually running through the logic because spork has polluted it a bit.

In short, is there a quick and easy way to get an interactive rspec party going?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about rspec