[rspec-users] rake spec defaults to devel env

Jonathan Linowes jonathan at parkerhill.com
Fri Sep 26 20:19:28 EDT 2008

On Sep 26, 2008, at 1:36 PM, Tero Tilus wrote:

> I was experiencing the weirdest behavior (rake spec running fine
> without a test database) the other day. Turned out that actually rake
> spec was (and has been for heavens know how long for me) running in
> development environment.  However script/spec runs in test
> environment just as I expect it to do.
> Is this how it should go?  Am I missing something?  If there's
> something broken in my rails app where should I start debugging?
> -- 
> Tero Tilus ## 050 3635 235 ## http://www.tilus.net/koti/tero/
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

rake spec looks at the development environment to prepare the db
schema, but still runs the specs in test

More information about the rspec-users mailing list