class Mysql2EnumTest
Public Instance Methods
test_enum_limit()
click to toggle source
# File activerecord/test/cases/adapters/mysql2/enum_test.rb, line 9 def test_enum_limit column = EnumTest.columns_hash["enum_column"] assert_equal 8, column.limit end
test_should_not_be_bigint()
click to toggle source
# File activerecord/test/cases/adapters/mysql2/enum_test.rb, line 19 def test_should_not_be_bigint column = EnumTest.columns_hash["enum_column"] assert_not column.bigint? end
test_should_not_be_unsigned()
click to toggle source
# File activerecord/test/cases/adapters/mysql2/enum_test.rb, line 14 def test_should_not_be_unsigned column = EnumTest.columns_hash["enum_column"] assert_not column.unsigned? end