提交 fd2ddb3e 编写于 作者: V Vipul A M

Remove redundant test about `push_with_attributes` removal.

上级 16e4d013
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册