diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-07-23 11:26:04 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-07-23 11:26:04 +0000 |
commit | d74f0bfd5c53962e332c2dd4d30dafaa1105b92b (patch) | |
tree | f3eaf66d67c3a87fb34340561bf188d364de623c /test/integration/application_test.rb | |
parent | 41bb302594b48152b87c92f196c915f499093bbf (diff) | |
download | redmine-d74f0bfd5c53962e332c2dd4d30dafaa1105b92b.tar.gz redmine-d74f0bfd5c53962e332c2dd4d30dafaa1105b92b.zip |
Merged rails-5.1 branch (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/application_test.rb')
-rw-r--r-- | test/integration/application_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/application_test.rb b/test/integration/application_test.rb index 2b572a238..7990b4265 100644 --- a/test/integration/application_test.rb +++ b/test/integration/application_test.rb @@ -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 |