aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-12-14 17:34:35 +0000
committerJon Leighton <j@jonathanleighton.com>2011-12-14 17:34:35 +0000
commit8a37970312815b6ea0b27821f52552df19add8cb (patch)
treecdd2df968d19bd681270f8cf606e2f5258230b49 /activerecord/test
parent909b337da8d905afe0204cd96b033a276522441f (diff)
downloadrails-8a37970312815b6ea0b27821f52552df19add8cb.tar.gz
rails-8a37970312815b6ea0b27821f52552df19add8cb.tar.bz2
rails-8a37970312815b6ea0b27821f52552df19add8cb.zip
Remove that there copy/pasted code :bomb:
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/associations/nested_through_associations_test.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/activerecord/test/cases/associations/nested_through_associations_test.rb b/activerecord/test/cases/associations/nested_through_associations_test.rb
index 1af92fd025..f920e09410 100644
--- a/activerecord/test/cases/associations/nested_through_associations_test.rb
+++ b/activerecord/test/cases/associations/nested_through_associations_test.rb
@@ -546,11 +546,6 @@ class NestedThroughAssociationsTest < ActiveRecord::TestCase
end
def test_nested_has_many_through_should_not_be_autosaved
- welcome_general, thinking_general = taggings(:welcome_general), taggings(:thinking_general)
-
- assert_equal [welcome_general, thinking_general],
- categorizations(:david_welcome_general).post_taggings.order('taggings.id')
-
c = Categorization.new
c.author = authors(:david)
c.post_taggings.to_a