diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-12-12 21:03:45 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-12-12 21:03:45 -0600 |
commit | 25bb301d9c392d7c38ac8e6f5b64ed64e7b95022 (patch) | |
tree | 02449a98c0c5e58c86c40415ed0100070ac83f40 | |
parent | 8a50f8a545ebde9cbae4187d1b1d5a59a29711f3 (diff) | |
download | rails-25bb301d9c392d7c38ac8e6f5b64ed64e7b95022.tar.gz rails-25bb301d9c392d7c38ac8e6f5b64ed64e7b95022.tar.bz2 rails-25bb301d9c392d7c38ac8e6f5b64ed64e7b95022.zip |
Forgot to revert tests from that last commit
-rw-r--r-- | activerecord/test/cases/associations/has_many_associations_test.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/activerecord/test/cases/associations/has_many_associations_test.rb b/activerecord/test/cases/associations/has_many_associations_test.rb index 551a1da0c6..ce7eedbb54 100644 --- a/activerecord/test/cases/associations/has_many_associations_test.rb +++ b/activerecord/test/cases/associations/has_many_associations_test.rb @@ -1178,12 +1178,4 @@ class HasManyAssociationsTest < ActiveRecord::TestCase client = firm.clients_using_primary_key.create!(:name => 'test') assert_equal firm.name, client.firm_name end - - def test_normal_method_call_in_association_proxy - assert_equal 'Welcome to the weblog', Comment.all.map { |comment| comment.post }.sort_by(&:id).first.title - end - - def test_instance_eval_in_association_proxy - assert_equal 'Welcome to the weblog', Comment.all.map { |comment| comment.post }.sort_by(&:id).first.instance_eval{title} - end end |