Renamed helpers to correspond to renamed Controller classes.
[merb_radiant.git] / radiant_specs / test / unit / .svn / text-base / extension_migrator_test.rb.svn-base
blobffee558a326d70876780e8ccd7ab7517846591a0
1 require File.dirname(__FILE__) + '/../test_helper'
3 class ExtensionMigratorTest < Test::Unit::TestCase
4   
5   class Person < ActiveRecord::Base; end
6   class Place < ActiveRecord::Base; end
7   
8   def test_migrate
9     ActiveRecord::Migration.suppress_messages do
10       BasicExtension.migrator.migrate
11     end
12     assert_equal(2, BasicExtension.migrator.current_version)
13     assert_nothing_raised { Person.find(:all) }
14     assert_nothing_raised { Place.find(:all) }
15   end
17 end