Sha256: 9ea16651f2488d23041db50e1ab6181d277bb20fdec73b4756124ad638f875b7
Contents?: true
Size: 506 Bytes
Versions: 1
Compression:
Stored size: 506 Bytes
Contents
require 'jdbc_common' require 'db/oracle' class OracleLimitTest < Test::Unit::TestCase include FixtureSetup def setup super 1010.times do |n| Entry.create!(:user => User.create!(:login => "Test User#{n}"), :title => "Entry #{n}", :rating => n, :content => "Testing Content #{n}") end end def test_oracle_limit_properly_handled assert_nothing_thrown do Entry.includes(:user).all end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
activerecord-jdbc-adapter-1.2.5 | test/oracle_limit_test.rb |