aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations_test.rb
diff options
context:
space:
mode:
authorVishnu Atrai <me@vishnuatrai.com>2011-05-10 22:51:54 +0530
committerVishnu Atrai <me@vishnuatrai.com>2011-05-10 22:51:54 +0530
commit33f0b6b67d640168c2699659c4a6aa2113b635b7 (patch)
treeb2a1b85728ab6e3c25dcf7e90adbc81cf4396b28 /activerecord/test/cases/associations_test.rb
parent4de977117f5d7123aa97ab3837cc96ec19c68d33 (diff)
downloadrails-33f0b6b67d640168c2699659c4a6aa2113b635b7.tar.gz
rails-33f0b6b67d640168c2699659c4a6aa2113b635b7.tar.bz2
rails-33f0b6b67d640168c2699659c4a6aa2113b635b7.zip
minor cleaning
Diffstat (limited to 'activerecord/test/cases/associations_test.rb')
-rw-r--r--activerecord/test/cases/associations_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations_test.rb b/activerecord/test/cases/associations_test.rb
index 04f628a398..49d82ba2df 100644
--- a/activerecord/test/cases/associations_test.rb
+++ b/activerecord/test/cases/associations_test.rb
@@ -85,7 +85,7 @@ class AssociationsTest < ActiveRecord::TestCase
def test_should_construct_new_finder_sql_after_create
person = Person.new :first_name => 'clark'
- assert_equal [], person.readers.find(:all)
+ assert_equal [], person.readers.all
person.save!
reader = Reader.create! :person => person, :post => Post.new(:title => "foo", :body => "bar")
assert person.readers.find(reader.id)