aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapters/mysql2
diff options
context:
space:
mode:
authorEileen M. Uchitelle <eileencodes@users.noreply.github.com>2016-12-17 13:06:51 -0500
committerGitHub <noreply@github.com>2016-12-17 13:06:51 -0500
commit5b37c9c4a6d823ea210e46ad5f57b1a437243e7d (patch)
tree6db3f3e7680c6ee07bf11c512c1af47c0d4c3a21 /activerecord/test/cases/adapters/mysql2
parenta8a062cbc4c8ee9cb01d8979f1ade9c7c6ebe259 (diff)
parent61cd7bd65314fe53e42593875a7425385c596740 (diff)
downloadrails-5b37c9c4a6d823ea210e46ad5f57b1a437243e7d.tar.gz
rails-5b37c9c4a6d823ea210e46ad5f57b1a437243e7d.tar.bz2
rails-5b37c9c4a6d823ea210e46ad5f57b1a437243e7d.zip
Merge pull request #27329 from kamipo/simplify_unsigned_regex
Simplify the regex for `unsigned?` method
Diffstat (limited to 'activerecord/test/cases/adapters/mysql2')
-rw-r--r--activerecord/test/cases/adapters/mysql2/unsigned_type_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/adapters/mysql2/unsigned_type_test.rb b/activerecord/test/cases/adapters/mysql2/unsigned_type_test.rb
index 268800d538..a0823be143 100644
--- a/activerecord/test/cases/adapters/mysql2/unsigned_type_test.rb
+++ b/activerecord/test/cases/adapters/mysql2/unsigned_type_test.rb
@@ -15,6 +15,7 @@ class Mysql2UnsignedTypeTest < ActiveRecord::Mysql2TestCase
t.bigint :unsigned_bigint, unsigned: true
t.float :unsigned_float, unsigned: true
t.decimal :unsigned_decimal, unsigned: true, precision: 10, scale: 2
+ t.column :unsigned_zerofill, "int unsigned zerofill"
end
end
@@ -48,7 +49,6 @@ class Mysql2UnsignedTypeTest < ActiveRecord::Mysql2TestCase
t.unsigned_bigint :unsigned_bigint_t
t.unsigned_float :unsigned_float_t
t.unsigned_decimal :unsigned_decimal_t, precision: 10, scale: 2
- t.column :unsigned_zerofill, "int unsigned zerofill"
end
@connection.columns("unsigned_types").select { |c| /^unsigned_/.match?(c.name) }.each do |column|