Sha256: d381646f26be47529d46f16149ba974df5b8cf5d4ea3644397eae08b34f68e2b
Contents?: true
Size: 343 Bytes
Versions: 11
Compression:
Stored size: 343 Bytes
Contents
require 'test_helper' require 'active_record' class RequireTest < ActiveSupport::TestCase def setup ActiveRecord::Relation.new(nil, nil, nil) require 'test_helper' @user = User.create name: 'Dingding Ye', email: 'yedingding@gmail.com' end def test_should_find_the_user assert_equal @user, User.find(@user.id) end end
Version data entries
11 entries across 11 versions & 1 rubygems