Browse files

Remove test which was broken on 1.8. This test is now irrelevant sinc…

…e singular associations no longer return a proxy object.
  • Loading branch information...
1 parent 2e748fe commit 6975a41adfa04109e089416a09005425f9562afd @jonleighton jonleighton committed Feb 18, 2011
Showing with 0 additions and 8 deletions.
  1. +0 −8 activerecord/test/cases/associations_test.rb
View
8 activerecord/test/cases/associations_test.rb
@@ -203,14 +203,6 @@ def test_reload_returns_assocition
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

0 comments on commit 6975a41

Please sign in to comment.