aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGeorge Claghorn <george@basecamp.com>2018-11-25 21:35:27 -0500
committerGeorge Claghorn <george@basecamp.com>2018-11-25 21:53:22 -0500
commitdcea1b18dae59a371ef8ac32b4874f3daf748001 (patch)
tree202d24821ffc0db43fe729e1fe60c78227b418e1 /test
parent5ae21598731a8a539c025d2c57576ab44148c3fb (diff)
downloadrails-dcea1b18dae59a371ef8ac32b4874f3daf748001.tar.gz
rails-dcea1b18dae59a371ef8ac32b4874f3daf748001.tar.bz2
rails-dcea1b18dae59a371ef8ac32b4874f3daf748001.zip
YAGNI user agent customization
Diffstat (limited to 'test')
-rw-r--r--test/unit/postfix_relayer_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/postfix_relayer_test.rb b/test/unit/postfix_relayer_test.rb
index 9f5b78e216..f11ffb0518 100644
--- a/test/unit/postfix_relayer_test.rb
+++ b/test/unit/postfix_relayer_test.rb
@@ -20,7 +20,8 @@ module ActionMailbox
assert_not result.failure?
assert_requested :post, URL, body: file_fixture("welcome.eml").read,
- basic_auth: [ "actionmailbox", INGRESS_PASSWORD ], headers: { "Content-Type" => "message/rfc822", "User-Agent" => "Postfix" }
+ basic_auth: [ "actionmailbox", INGRESS_PASSWORD ],
+ headers: { "Content-Type" => "message/rfc822", "User-Agent" => "Action Mailbox Postfix relayer" }
end
test "unsuccessfully relaying with invalid credentials" do