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

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

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