Code cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10987 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-12-11 20:38:26 +00:00
parent 5dd7467061
commit 24be0551cc
5 changed files with 33 additions and 2 deletions
@@ -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