generators/app/templates/test/test_helper.rb in newplugin-0.0.2 vs generators/app/templates/test/test_helper.rb in newplugin-0.0.3
- old
+ new
@@ -1,6 +1,6 @@
require File.expand_path(File.dirname(__FILE__) + '/app_root/config/environment')
require 'test_help'
# Run the migrations
ActiveRecord::Migration.verbose = false
-ActiveRecord::Migrator.migrate("#{RAILS_ROOT}/db/migrate")
+ActiveRecord::Migrator.migrate("#{PLUGIN_RAILS_ROOT}/db/migrate")