diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-02-18 18:50:17 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-02-18 18:50:35 +0000 |
commit | 6975a41adfa04109e089416a09005425f9562afd (patch) | |
tree | c8ebe93990a5606e3b5fdf05a638df53b841b7dc /activerecord/test | |
parent | 2e748feb801e87afbc7fad45161234ddb60fcecd (diff) | |
download | rails-6975a41adfa04109e089416a09005425f9562afd.tar.gz rails-6975a41adfa04109e089416a09005425f9562afd.tar.bz2 rails-6975a41adfa04109e089416a09005425f9562afd.zip |
Remove test which was broken on 1.8. This test is now irrelevant since singular associations no longer return a proxy object.
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/associations_test.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/activerecord/test/cases/associations_test.rb b/activerecord/test/cases/associations_test.rb index a1996fcf27..47b8e48582 100644 --- a/activerecord/test/cases/associations_test.rb +++ b/activerecord/test/cases/associations_test.rb @@ -203,14 +203,6 @@ class AssociationProxyTest < ActiveRecord::TestCase assert_equal david.projects, david.projects.reload.reload end end - - if RUBY_VERSION < '1.9' - def test_splat_does_not_invoke_to_a_on_singular_targets - author = posts(:welcome).author - author.reload.target.expects(:to_a).never - [*author] - end - end end class OverridingAssociationsTest < ActiveRecord::TestCase |