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:
parent
21f9f1c67f
commit
23859d0801
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue