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, 2 insertions, 1 deletions
diff --git a/test/unit/router_test.rb b/test/unit/router_test.rb
index 7dbacbb865..6bfd880b67 100644
--- a/test/unit/router_test.rb
+++ b/test/unit/router_test.rb
@@ -9,7 +9,8 @@ end
module ActionMailroom
class RouterTest < ActiveSupport::TestCase
setup do
- @router = ActionMailroom::Router.new('replies@example.com' => :replies)
+ @router = ActionMailroom::Router.new
+ @router.add_routes('replies@example.com' => :replies)
$processed = false
end