Permalink
Browse files

Merge pull request #11373 from vipulnsward/remove_deprecated_test

Remove redundant test about `push_with_attributes` removal.
  • Loading branch information...
2 parents 16e4d01 + fd2ddb3 commit 6e53bcfe99cde623c91ad99400dc148d08ca0717 @rafaelfranca rafaelfranca committed Jul 9, 2013
@@ -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

0 comments on commit 6e53bcf

Please sign in to comment.