diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-09-27 07:17:06 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-09-27 07:17:06 +0900 |
commit | 13c38bc936f3e284308a68556140b9faad5498fb (patch) | |
tree | 6832066c8278a448bff5ecf82ef6ff364a4e378d /activerecord | |
parent | 56b3849316b9c4cf4423ef8de30cbdc1b7e0f7af (diff) | |
download | rails-13c38bc936f3e284308a68556140b9faad5498fb.tar.gz rails-13c38bc936f3e284308a68556140b9faad5498fb.tar.bz2 rails-13c38bc936f3e284308a68556140b9faad5498fb.zip |
`:text_too_big` column should be `:text`, not `:integer`
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/migration/column_attributes_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/migration/column_attributes_test.rb b/activerecord/test/cases/migration/column_attributes_test.rb index 03d781d3d2..bea6b9f3a8 100644 --- a/activerecord/test/cases/migration/column_attributes_test.rb +++ b/activerecord/test/cases/migration/column_attributes_test.rb @@ -165,7 +165,7 @@ module ActiveRecord assert_raise(ActiveRecordError) { add_column :test_models, :integer_too_big, :integer, limit: 10 } unless current_adapter?(:PostgreSQLAdapter) - assert_raise(ActiveRecordError) { add_column :test_models, :text_too_big, :integer, limit: 0xfffffffff } + assert_raise(ActiveRecordError) { add_column :test_models, :text_too_big, :text, limit: 0xfffffffff } end end end |