diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-01 15:07:44 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-01 15:07:44 -0800 |
commit | 4232454289ec12f8b21a22f764848263acd7af26 (patch) | |
tree | 6e11b2293b2fe4e9ec3ae12da7cef9554f9d91b1 /activerecord | |
parent | 7d2179608c21f1a36a3d0392f251b1ef7a2cf377 (diff) | |
download | rails-4232454289ec12f8b21a22f764848263acd7af26.tar.gz rails-4232454289ec12f8b21a22f764848263acd7af26.tar.bz2 rails-4232454289ec12f8b21a22f764848263acd7af26.zip |
make sure we have a value in migrated_at
Diffstat (limited to 'activerecord')
-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 37b2fea275..eed35e83f1 100644 --- a/activerecord/test/cases/migration_test.rb +++ b/activerecord/test/cases/migration_test.rb @@ -1507,7 +1507,7 @@ if ActiveRecord::Base.connection.supports_migrations? rows = conn.select_all("SELECT * FROM #{conn.quote_table_name(sm_table)}") rows.each do |row| - assert_match(/^2\d\d\d-/, row["migrated_at"].to_s, "missing migrated_at") + assert_not_nil(row["migrated_at"], "missing migrated_at") end assert_equal "people_have_last_names", rows[0]["name"] assert_equal "we_need_reminders", rows[1]["name"] |