test/test_helper.rb in table_helper-0.2.0 vs test/test_helper.rb in table_helper-0.2.1

- old
+ new

@@ -1,9 +1,12 @@ # Load the plugin testing framework $:.unshift("#{File.dirname(__FILE__)}/../../plugin_test_helper/lib") require 'rubygems' require 'plugin_test_helper' +# Run the migrations +ActiveRecord::Migrator.migrate("#{Rails.root}/db/migrate") + Test::Unit::TestCase.class_eval do private def assert_html_equal(expected, actual) assert_equal expected.strip.gsub(/\n\s*/, ''), actual end