[rspec-users] After upgrade to 0.7.5, specs are now using the development, not the test DB

Ed Howland ed.howland at gmail.com
Fri Jan 12 09:23:03 EST 2007


On 1/11/07, David Chelimsky <dchelimsky at gmail.com> wrote:
> Add this to the top of spec_helper.rb:
>
> ENV["RAILS_ENV"] = "test"
>
> This will not be a problem in the next release.
>
> David

Thanks, that did the trick.

Ed


More information about the rspec-users mailing list