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

class Mysql2EnumTest < ActiveRecord::Mysql2TestCase
  class EnumTest < ActiveRecord::Base
  end

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