diff options
Diffstat (limited to 'activerecord/test')
| -rw-r--r-- | activerecord/test/cases/connection_adapters/mysql_type_lookup_test.rb | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/activerecord/test/cases/connection_adapters/mysql_type_lookup_test.rb b/activerecord/test/cases/connection_adapters/mysql_type_lookup_test.rb index 80244d1439..2749273884 100644 --- a/activerecord/test/cases/connection_adapters/mysql_type_lookup_test.rb +++ b/activerecord/test/cases/connection_adapters/mysql_type_lookup_test.rb @@ -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 | 
