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

Version Path
second_level_cache-2.3.3 test/require_test.rb
second_level_cache-2.3.2 test/require_test.rb
second_level_cache-2.3.1 test/require_test.rb
second_level_cache-2.3.0 test/require_test.rb
second_level_cache-2.3.0.beta test/require_test.rb
second_level_cache-2.2.6 test/require_test.rb
second_level_cache-2.2.5 test/require_test.rb
second_level_cache-2.2.4 test/require_test.rb
second_level_cache-2.2.3 test/require_test.rb
second_level_cache-2.2.2 test/require_test.rb
second_level_cache-2.2.1 test/require_test.rb