summaryrefslogtreecommitdiffstats
path: root/test/functional/queries_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-12-11 20:38:26 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-12-11 20:38:26 +0000
commit24be0551ccd77c7facf0278825973d604942d88a (patch)
treee74ef651f120edfb72d83e623b7eb42a576e2116 /test/functional/queries_controller_test.rb
parent5dd7467061fbe6b649a6bf92f969184e41bc8908 (diff)
downloadredmine-24be0551ccd77c7facf0278825973d604942d88a.tar.gz
redmine-24be0551ccd77c7facf0278825973d604942d88a.zip
Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10987 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/queries_controller_test.rb')
-rw-r--r--test/functional/queries_controller_test.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/queries_controller_test.rb b/test/functional/queries_controller_test.rb
index ba8ec13bc..5a49e56e3 100644
--- a/test/functional/queries_controller_test.rb
+++ b/test/functional/queries_controller_test.rb
@@ -24,6 +24,12 @@ class QueriesControllerTest < ActionController::TestCase
User.current = nil
end
+ def test_index
+ get :index
+ # HTML response not implemented
+ assert_response 406
+ end
+
def test_new_project_query
@request.session[:user_id] = 2
get :new, :project_id => 1