1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix the MySQL column type SET registration bug

This commit is contained in:
Taishi Kasuga 2015-06-16 10:08:33 +09:00 committed by Ryuta Kamizono
parent 7d14bd3ff5
commit 289ec49f46

View file

@ -22,6 +22,10 @@ module ActiveRecord
assert_lookup_type :string, "SET('one', 'two', 'three')"
end
def test_set_type_with_value_matching_other_type
assert_lookup_type :string, "SET('unicode', '8bit', 'none', 'time')"
end
def test_enum_type_with_value_matching_other_type
assert_lookup_type :string, "ENUM('unicode', '8bit', 'none')"
end