diff options
Diffstat (limited to 'test/unit/router_test.rb')
-rw-r--r-- | test/unit/router_test.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/unit/router_test.rb b/test/unit/router_test.rb index fa7ac2ba19..3ce669025e 100644 --- a/test/unit/router_test.rb +++ b/test/unit/router_test.rb @@ -15,10 +15,8 @@ module ActionMailroom end test "routed to mailbox" do - @router.route create_inbound_email_from_mail { - to "replies@example.com" - subject "This is a reply" - } + @router.route \ + create_inbound_email_from_mail(to: "replies@example.com", subject: "This is a reply") assert_equal "This is a reply", $processed end |