Merged rails-5.1 branch (#23630).

git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2017-07-23 11:26:04 +00:00
parent 41bb302594
commit d74f0bfd5c
381 changed files with 598 additions and 640 deletions

View File

@@ -63,9 +63,9 @@ class ApplicationTest < Redmine::IntegrationTest
assert_nil session[:user_id]
end
def test_missing_template_should_respond_with_404
def test_missing_template_should_respond_with_4xx
get '/login.png'
assert_response 404
assert_response 406
end
def test_invalid_token_should_call_custom_handler