Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove redundant test about `push_with_attributes` removal.

  • Loading branch information...
commit fd2ddb3eb8b7f33ec6319765595e6ede761e9999 1 parent 16e4d01
@vipulnsward vipulnsward authored
View
7 activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb
@@ -437,13 +437,6 @@ def test_destroy_associations_destroys_multiple_associations
assert george.treasures(true).empty?
end
- def test_deprecated_push_with_attributes_was_removed
- jamis = developers(:jamis)
- assert_raise(NoMethodError) do
- jamis.projects.push_with_attributes(projects(:action_controller), :joined_on => Date.today)
- end
- end
-
def test_associations_with_conditions
assert_equal 3, projects(:active_record).developers.size
assert_equal 1, projects(:active_record).developers_named_david.size
Please sign in to comment.
Something went wrong with that request. Please try again.