correct rake test:prepare so it seeds the db correctly

move category creation into seeds as well, so db can be seeded from structure.sql
This commit is contained in:
Sam
2013-10-25 10:31:33 +11:00
parent 4929c5db71
commit 270fde7dbd
3 changed files with 26 additions and 2 deletions

View File

@@ -2,3 +2,7 @@
task 'db:migrate' => 'environment' do
SeedFu.seed
end
task 'test:prepare' => 'environment' do
SeedFu.seed
end