mirror of
https://github.com/redmine/redmine.git
synced 2025-11-13 16:56:00 +01:00
Use should_route in routing tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13608 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -17,11 +17,8 @@
|
||||
|
||||
require File.expand_path('../../../test_helper', __FILE__)
|
||||
|
||||
class RoutingMailHandlerTest < ActionDispatch::IntegrationTest
|
||||
class RoutingMailHandlerTest < Redmine::RoutingTest
|
||||
def test_mail_handler
|
||||
assert_routing(
|
||||
{ :method => "post", :path => "/mail_handler" },
|
||||
{ :controller => 'mail_handler', :action => 'index' }
|
||||
)
|
||||
should_route 'POST /mail_handler' => 'mail_handler#index'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user