aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapters/mysql/enum_test.rb
blob: ef8ee0a6e3e4db12f050efd334c1fa089408a18a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
require "cases/helper"

class MysqlEnumTest < ActiveRecord::MysqlTestCase
  class EnumTest < ActiveRecord::Base
  end

  def test_enum_limit
    assert_equal 6, EnumTest.columns.first.limit
  end
end