Skip to content
Browse files

Merge pull request #6879 from yahonda/address_basic_inclusion_model_t…

…est_oracle

Address test_basic_model test error with Oracle enhanced adapter
  • Loading branch information...
2 parents 21f9f1c + 23859d0 commit bb16b0ef7e999d79751869a61386702dd1aa88b4 @rafaelfranca rafaelfranca committed Jun 27, 2012
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

0 comments on commit bb16b0e

Please sign in to comment.
Something went wrong with that request. Please try again.