diff options
author | José Valim <jose.valim@gmail.com> | 2012-06-10 11:38:37 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2012-06-10 11:38:37 +0200 |
commit | 03f2249153ae4d2078646e6796d8b9e5ef747fba (patch) | |
tree | 680e70837788456b717524fd2f046faa669e2ca0 /activerecord/test | |
parent | 4845c0685aa3983b4685d4afe141ac5d398521bc (diff) | |
download | rails-03f2249153ae4d2078646e6796d8b9e5ef747fba.tar.gz rails-03f2249153ae4d2078646e6796d8b9e5ef747fba.tar.bz2 rails-03f2249153ae4d2078646e6796d8b9e5ef747fba.zip |
Use . instead of :: for class methods, add CHANGELOG entries
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/migration_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/migration_test.rb b/activerecord/test/cases/migration_test.rb index ee02e4ddda..3c0d2b18d9 100644 --- a/activerecord/test/cases/migration_test.rb +++ b/activerecord/test/cases/migration_test.rb @@ -63,12 +63,12 @@ class MigrationTest < ActiveRecord::TestCase ActiveRecord::Migrator.up(migrations_path) assert_equal 3, ActiveRecord::Migrator.current_version assert_equal 3, ActiveRecord::Migrator.last_version - assert_equal false, ActiveRecord::Migrator.needs_migrations? + assert_equal false, ActiveRecord::Migrator.needs_migration? ActiveRecord::Migrator.down(MIGRATIONS_ROOT + "/valid") assert_equal 0, ActiveRecord::Migrator.current_version assert_equal 3, ActiveRecord::Migrator.last_version - assert_equal true, ActiveRecord::Migrator.needs_migrations? + assert_equal true, ActiveRecord::Migrator.needs_migration? end def test_create_table_with_force_true_does_not_drop_nonexisting_table |