提交 c04baed6 编写于 作者: M Mikel Lindsaar

Fixing failing test on sendmail expectation

上级 2a3ec5fe
......@@ -679,7 +679,7 @@ def test_doesnt_raise_errors_when_raise_delivery_errors_is_false
end
def test_performs_delivery_via_sendmail
IO.expects(:popen).once.with('/usr/sbin/sendmail -i -t test@localhost', 'w+')
IO.expects(:popen).once.with('/usr/sbin/sendmail -i -t -f "system@loudthinking.com" test@localhost', 'w+')
ActionMailer::Base.delivery_method = :sendmail
TestMailer.deliver_signed_up(@recipient)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册