diff options
author | Jon Leighton <j@jonathanleighton.com> | 2012-04-27 12:37:21 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2012-04-27 12:37:21 +0100 |
commit | 0ed05b0e7379e0a6aa47c5677b90383b9f0132b2 (patch) | |
tree | b5b67fb711af82657ef42509724f490236cdb516 /activerecord/test/cases/relations_test.rb | |
parent | 61555a0df11f535d46a0a631fbb0d0773613d08e (diff) | |
download | rails-0ed05b0e7379e0a6aa47c5677b90383b9f0132b2.tar.gz rails-0ed05b0e7379e0a6aa47c5677b90383b9f0132b2.tar.bz2 rails-0ed05b0e7379e0a6aa47c5677b90383b9f0132b2.zip |
find and replace deprecated keys
Diffstat (limited to 'activerecord/test/cases/relations_test.rb')
-rw-r--r-- | activerecord/test/cases/relations_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/relations_test.rb b/activerecord/test/cases/relations_test.rb index ae9e4dea1b..4b8b57bac2 100644 --- a/activerecord/test/cases/relations_test.rb +++ b/activerecord/test/cases/relations_test.rb @@ -282,7 +282,7 @@ class RelationTest < ActiveRecord::TestCase end def test_find_on_hash_conditions - assert_equal Topic.scoped(:conditions => {:approved => false}).all, Topic.where({ :approved => false }).to_a + assert_equal Topic.scoped(:where => {:approved => false}).all, Topic.where({ :approved => false }).to_a end def test_joins_with_string_array |