gigantron_generators/model/templates/test/models/test_model.rb in gigantron-0.0.1 vs gigantron_generators/model/templates/test/models/test_model.rb in gigantron-0.1.0
- old
+ new
@@ -1,10 +1,10 @@
require File.dirname(__FILE__) + '/../test_helper.rb'
class Test<%= name.capitalize %> < Test::Unit::TestCase
def setup
get_db_conn(GTRON_ENV)
- DataMapper.auto_migrate!
+ Gigantron.migrate_dbs
end
#replace with real tests
should "be true" do
assert true