Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix test

[git-p4: depot-paths = "//src/ar_mailer/dev/": change = 5640]
  • Loading branch information...
commit e6906b99a9a34c9b80d01f9ef95f145c7904d2c3 1 parent e31b4c4
Eric Hodel drbrain authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 test/test_arsendmail.rb
6 test/test_arsendmail.rb
View
@@ -364,9 +364,11 @@ def test_class_parse_args_pid_file
argv = %w[--pid-file]
- options = ActionMailer::ARSendmail.process_args argv
+ e = assert_raises OptionParser::InvalidArgument do
+ options = ActionMailer::ARSendmail.process_args argv
+ end
- assert_equal '/var/run/ar_sendmail/ar_sendmail.pid', options[:PidFile]
+ assert_match %r%/var/run/ar_sendmail does not exist%, e.message
argv = %w[--pid-file=/tmp/ar_sendmail.pid]
Please sign in to comment.
Something went wrong with that request. Please try again.