Skip to content

Commit ff61340

Browse files
author
Anna
committed
changed derpecated find syntax
1 parent bb5ba8e commit ff61340

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cases/adapter_test_sqlserver.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ class AdapterTestSqlserver < ActiveRecord::TestCase
567567
end
568568

569569
should 'return block value using #run_with_isolation_level' do
570-
assert_equal Task.find(:all).sort, @connection.run_with_isolation_level('READ UNCOMMITTED') { Task.find(:all).sort }
570+
assert_equal Task.all.sort, @connection.run_with_isolation_level('READ UNCOMMITTED') { Task.all.sort }
571571
end
572572

573573
should 'pass a read uncommitted isolation level test' do

0 commit comments

Comments
 (0)