Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Address test_basic_model test error with Oracle enhanced adapter

which ids start from 1000 as a default.
  • Loading branch information...
commit 23859d0801ec6c8ac9a829bc20f95631ca763513 1 parent 21f9f1c
@yahonda yahonda authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/test/cases/inclusion_test.rb
View
2  activerecord/test/cases/inclusion_test.rb
@@ -4,7 +4,7 @@
class BasicInclusionModelTest < ActiveRecord::TestCase
def test_basic_model
Teapot.create!(:name => "Ronnie Kemper")
- assert_equal "Ronnie Kemper", Teapot.find(1).name
+ assert_equal "Ronnie Kemper", Teapot.first.name
end
def test_initialization
Please sign in to comment.
Something went wrong with that request. Please try again.