diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-08-13 18:34:00 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-08-13 18:34:00 +0000 |
commit | 327660eb7f7e3e7339dd1fead1404bda10e09c13 (patch) | |
tree | 658d68ae8bda9a9d83cc11a9a43c87306733ec19 /test/integration/application_test.rb | |
parent | 49e80c2cea0972c3f1cb71c5e52cd8596770123a (diff) | |
download | redmine-327660eb7f7e3e7339dd1fead1404bda10e09c13.tar.gz redmine-327660eb7f7e3e7339dd1fead1404bda10e09c13.zip |
Respond with 404 on ActionView::MissingTemplate (#11503).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10204 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/application_test.rb')
-rw-r--r-- | test/integration/application_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/integration/application_test.rb b/test/integration/application_test.rb index 09ffd070c..fe4059afb 100644 --- a/test/integration/application_test.rb +++ b/test/integration/application_test.rb @@ -60,4 +60,9 @@ class ApplicationTest < ActionController::IntegrationTest assert_response 200 assert_nil session[:user_id] end + + def test_missing_template_should_respond_with_404 + get '/login.png' + assert_response 404 + end end |