aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapters/mysql2/enum_test.rb
blob: f3a05e48ad5e0c24abee70f9d2d6ef37ae79d948 (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 5, EnumTest.columns.first.limit
  end
end