This project is archived and is in readonly mode.
Comments and changes to this ticket
-
Ryan Bates August 4th, 2008 @ 11:59 PM
Are you certain this problem isn't specific to your application? Check your database.yml file to make sure the test db is different from the development one.
Also make sure this is at the top of your test_helper file to ensure you're running in the test environment.
ENV["RAILS_ENV"] = "test"
-
leiyou August 5th, 2008 @ 02:23 PM
Hi Ryan,
the test db is certainly different from the development, and
there is a ENV["RAILS_ENV"] = 'test' on top of test_helper.rb.
the problem happens in the rake task db:test:prepare I believe.
-
Chris Gaffney August 18th, 2008 @ 09:01 PM
I've run into the exact same problem using Mysql. It looks like it is only an issue on the 2.1 stable branch. The posted change from db:schema:load to db:test:clone works for me.
Offending commit: http://github.com/rails/rails/co...
-
Tarmo Tänav August 22nd, 2008 @ 09:24 PM
- State changed from new to duplicate
Closing as duplicate of #670
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>