aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations/has_many_through_associations_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/cases/associations/has_many_through_associations_test.rb')
-rw-r--r--activerecord/test/cases/associations/has_many_through_associations_test.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/activerecord/test/cases/associations/has_many_through_associations_test.rb b/activerecord/test/cases/associations/has_many_through_associations_test.rb
index 36e5ba9660..50a40739b9 100644
--- a/activerecord/test/cases/associations/has_many_through_associations_test.rb
+++ b/activerecord/test/cases/associations/has_many_through_associations_test.rb
@@ -58,21 +58,6 @@ class HasManyThroughAssociationsTest < ActiveRecord::TestCase
assert post.reload.people(true).include?(person)
end
- def test_associate_existing_with_strict_mass_assignment_sanitizer
- SecureReader.mass_assignment_sanitizer = :strict
-
- SecureReader.new
-
- post = posts(:thinking)
- person = people(:david)
-
- assert_queries(1) do
- post.secure_people << person
- end
- ensure
- SecureReader.mass_assignment_sanitizer = :logger
- end
-
def test_associate_existing_record_twice_should_add_to_target_twice
post = posts(:thinking)
person = people(:david)