Created
August 19, 2010 09:59
-
-
Save nielsjansendk/537513 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rails 3: If you want to use the file db/seeds.rb to seed you test database before running your specs do this: | |
Create a file called spec.rake in lib/tasks/ | |
In this file you stick: | |
task :spec => ["db:test:prepare", "db:seed"] | |
and that will do the trick |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This didn't work for me :(