diff options
Diffstat (limited to 'test/functional/mail_handler_controller_test.rb')
-rw-r--r-- | test/functional/mail_handler_controller_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/mail_handler_controller_test.rb b/test/functional/mail_handler_controller_test.rb index 864e30d20..91d31b56c 100644 --- a/test/functional/mail_handler_controller_test.rb +++ b/test/functional/mail_handler_controller_test.rb @@ -74,6 +74,7 @@ class MailHandlerControllerTest < Redmine::ControllerTest post :index, :key => 'secret', :email => IO.read(File.join(FIXTURES_PATH, 'ticket_on_given_project.eml')) end assert_response 403 + assert_include 'Access denied', response.body end def test_should_not_allow_with_wrong_key @@ -84,6 +85,7 @@ class MailHandlerControllerTest < Redmine::ControllerTest post :index, :key => 'wrong', :email => IO.read(File.join(FIXTURES_PATH, 'ticket_on_given_project.eml')) end assert_response 403 + assert_include 'Access denied', response.body end def test_new |