diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-07-22 08:45:51 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-07-22 08:45:51 +0200 |
commit | 30a38181f88aa80d6054b4fed5812a4c695b073d (patch) | |
tree | efc364e738e19d66e8e924dae8f6d170c33dae61 /activerecord | |
parent | ce14ebe6b4de3096e46fe0948c0fc4d4222adab2 (diff) | |
parent | 8e30a636256fcc5d4e9c48825339e894c9e7b8a4 (diff) | |
download | rails-30a38181f88aa80d6054b4fed5812a4c695b073d.tar.gz rails-30a38181f88aa80d6054b4fed5812a4c695b073d.tar.bz2 rails-30a38181f88aa80d6054b4fed5812a4c695b073d.zip |
Merge pull request #16250 from zuhao/refactor_activerecord_migration_test
Remove length limit that results failure in other tests.
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 84720585f2..2a00b2a3a6 100644 --- a/activerecord/test/cases/migration_test.rb +++ b/activerecord/test/cases/migration_test.rb @@ -63,7 +63,7 @@ class MigrationTest < ActiveRecord::TestCase end Person.connection.remove_column("people", "first_name") rescue nil Person.connection.remove_column("people", "middle_name") rescue nil - Person.connection.add_column("people", "first_name", :string, :limit => 40) + Person.connection.add_column("people", "first_name", :string, null: false) Person.reset_column_information end |