Sha256: fbdff1ad1ddc3c0613ddbb0d650054654a579db491ef8318316c15f6797db3ec
Contents?: true
Size: 297 Bytes
Versions: 9
Compression:
Stored size: 297 Bytes
Contents
require 'test_helper' class EnumAttrTest < ActiveSupport::TestCase def setup @user = User.create name: 'csdn', email: 'test@csdn.com' end def test_enum_attr @user.archived! assert_equal 'archived', @user.status assert_equal 'archived', User.find(@user.id).status end end
Version data entries
9 entries across 9 versions & 1 rubygems