Adds a form to manually submit an email to the mail handler.

Use GET /mail_handler?key= to get the form.

git-svn-id: http://svn.redmine.org/redmine/trunk@14314 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2015-06-15 21:47:22 +00:00
parent 3ae42cb326
commit 95f7471e9c
5 changed files with 59 additions and 2 deletions

View File

@@ -19,6 +19,7 @@ require File.expand_path('../../../test_helper', __FILE__)
class RoutingMailHandlerTest < Redmine::RoutingTest
def test_mail_handler
should_route 'GET /mail_handler' => 'mail_handler#new'
should_route 'POST /mail_handler' => 'mail_handler#index'
end
end