diff options
-rw-r--r-- | activerecord/test/cases/migration_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/migration_test.rb b/activerecord/test/cases/migration_test.rb index 4fdb7d2f25..f61d0315d0 100644 --- a/activerecord/test/cases/migration_test.rb +++ b/activerecord/test/cases/migration_test.rb @@ -1345,7 +1345,7 @@ if ActiveRecord::Base.connection.supports_migrations? ActiveRecord::Migrator.run(:up, migration_path, 20100201010101) schema_info = ActiveRecord::Base.connection.dump_schema_information - assert_match schema_info, /20100201010101.*20100301010101/m + assert_match(/20100201010101.*20100301010101/m, schema_info) end def test_finds_pending_migrations |