1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Address test_basic_model test error with Oracle enhanced adapter

which ids start from 1000 as a default.
This commit is contained in:
Yasuo Honda 2012-06-27 23:51:50 +09:00
parent 21f9f1c67f
commit 23859d0801

View file

@ -4,7 +4,7 @@ require 'models/teapot'
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