1 require File.dirname(__FILE__) + '/../test_helper'
3 class ExtensionMigratorTest < Test::Unit::TestCase
5 class Person < ActiveRecord::Base; end
6 class Place < ActiveRecord::Base; end
9 ActiveRecord::Migration.suppress_messages do
10 BasicExtension.migrator.migrate
12 assert_equal(2, BasicExtension.migrator.current_version)
13 assert_nothing_raised { Person.find(:all) }
14 assert_nothing_raised { Place.find(:all) }