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

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

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