From 03f2249153ae4d2078646e6796d8b9e5ef747fba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Sun, 10 Jun 2012 11:38:37 +0200 Subject: Use . instead of :: for class methods, add CHANGELOG entries --- activerecord/test/cases/migration_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activerecord/test') 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 -- cgit v1.2.3