Sha256: f219d0b8a7eb3f3986afb08a7be32e93c913ecaa2ad84b555f308a670daf4ec4

Contents?: true

Size: 362 Bytes

Versions: 2

Compression:

Stored size: 362 Bytes

Contents

# -*- encoding : utf-8 -*-
require 'test_helper'
require 'active_record'

class RequireTest < Minitest::Test
  def setup
    ActiveRecord::Relation
    require 'active_record/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

2 entries across 2 versions & 1 rubygems

Version Path
second_level_cache-2.1.0.rc2 test/require_test.rb
second_level_cache-2.1.0.rc1 test/require_test.rb