Permalink
Browse files

Running auto migrations on test start.

  • Loading branch information...
francois committed Oct 17, 2008
1 parent f3d233d commit 63a012c50689c685824ed9a040f0f75e6453acfc
Showing with 3 additions and 0 deletions.
  1. +3 −0 test/test_helper.rb
View
@@ -56,3 +56,6 @@ class Test::Unit::TestCase
# Add more helper methods to be used by all tests here...
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.