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/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users