Sha256: db531454874280834ec04037636e451eeff70a3b8006448bd51f7257d6d9fd87
Contents?: true
Size: 400 Bytes
Versions: 15
Compression:
Stored size: 400 Bytes
Contents
# frozen_string_literal: true require "test_helper" require "active_record" class RequireTest < ActiveSupport::TestCase def setup ActiveRecord::Relation.new(nil, table: nil, predicate_builder: 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
15 entries across 15 versions & 1 rubygems