Skip to content

Commit ae7b78a

Browse files
author
Anna
committed
updated deprecated find syntax
1 parent 09dd71d commit ae7b78a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cases/inheritance_test_sqlserver.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def test_coerced_a_bad_type_column
2727
def test_coerced_eager_load_belongs_to_primary_key_quoting
2828
con = Account.connection
2929
assert_sql(/\[companies\]\.\[id\] IN \(N''1''\)/) do
30-
Account.find(1, :include => :firm)
30+
Account.find(1).includes(:firm)
3131
end
3232
end
3333

0 commit comments

Comments
 (0)