[rspec-users] rake spec loads development environment
lists at ruby-forum.com
Wed May 13 22:59:44 EDT 2009
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'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/.
More information about the rspec-users