Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 2f76b3e

Browse files
committed
Backwards compatibility in test
1 parent 92766ba commit 2f76b3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/active_record_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def test_dumping_many_associations_at_dump_time
326326
objects = []
327327
@dumper.listen { |type, id, attrs, obj| objects << [type, id, attrs, obj] }
328328

329-
users = User.where(:login => %w[rtomayko kneath])
329+
users = User.all(:conditions => {:login => %w[rtomayko kneath]})
330330
@dumper.dump users, :associations => [:emails], :omit => [:profile]
331331

332332
assert_equal 5, objects.size

0 commit comments

Comments
 (0)