[rspec-users] rake spec loads development environment

David Chelimsky dchelimsky at gmail.com
Wed May 13 23:15:20 EDT 2009

On Wed, May 13, 2009 at 9:59 PM, Matthew Isleb <lists at ruby-forum.com> wrote:
> I know this thread is long dead, but I'm finding that I have the same
> problem. 'rake spec:modles' loads the development environment and
> clobbers my development database. I have to run set RAILS_ENV=test in
> order for the tests to run correctly.
> Commenting out that rake task line does not solve the problem.

What rake task line in what file?

> WHat's
> going on? Do I really have to remember to always set the environment to
> test? Shouldn't that be the default?
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list