Skip to content

Commit

Permalink
Running auto migrations on test start.
Browse files Browse the repository at this point in the history
  • Loading branch information
francois committed Oct 17, 2008
1 parent f3d233d commit 63a012c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/test_helper.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -56,3 +56,6 @@ class Test::Unit::TestCase


# Add more helper methods to be used by all tests here... # Add more helper methods to be used by all tests here...
end end

Dir[File.join(Rails.root, "app", "models", "*")].each {|f| require f}
DataMapper.auto_migrate!

0 comments on commit 63a012c

Please sign in to comment.