aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/router_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/router_test.rb')
-rw-r--r--test/unit/router_test.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/unit/router_test.rb b/test/unit/router_test.rb
index cc87ae6c0e..b8c187f95e 100644
--- a/test/unit/router_test.rb
+++ b/test/unit/router_test.rb
@@ -112,9 +112,8 @@ module ActionMailbox
end
test "invalid address" do
- assert_raises(ActionMailbox::Router::Route::InvalidAddressError) do
+ assert_raises(ArgumentError) do
@router.add_route Array.new, to: :first
- @router.route create_inbound_email_from_mail(to: "replies-nowhere@example.com", subject: "This is a reply")
end
end
end