Sha256: a42db50c4fd746b97640f14a4bf1a80259da09ea307a9371d21b39ddc6b4abe0
Contents?: true
Size: 368 Bytes
Versions: 3
Compression:
Stored size: 368 Bytes
Contents
# -*- encoding : utf-8 -*- require 'test_helper' require 'active_record' class RequireTest < Test::Unit::TestCase 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
second_level_cache-2.0.0 | test/require_test.rb |
second_level_cache-2.0.0.rc1 | test/require_test.rb |
second_level_cache-2.0.0.beta | test/require_test.rb |