diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-05-13 09:20:29 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-05-13 09:20:29 +0000 |
commit | 23dc61685066faab63f366fc5d7f88f985431359 (patch) | |
tree | db4000125a8a56688c01c67838b920dcd99418fa /test/functional/projects_controller_test.rb | |
parent | c7cff810e8060e2e887330451bba0536b3e8c2f5 (diff) | |
download | redmine-23dc61685066faab63f366fc5d7f88f985431359.tar.gz redmine-23dc61685066faab63f366fc5d7f88f985431359.zip |
Moves project quick search to a dedicated action.
git-svn-id: http://svn.redmine.org/redmine/trunk@16550 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/projects_controller_test.rb')
-rw-r--r-- | test/functional/projects_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb index db81206fb..92d5f4a56 100644 --- a/test/functional/projects_controller_test.rb +++ b/test/functional/projects_controller_test.rb @@ -52,8 +52,8 @@ class ProjectsControllerTest < Redmine::ControllerTest assert_select 'feed>entry', :count => Project.visible(User.current).count end - def test_index_js - xhr :get, :index, :format => 'js', :q => 'coo' + def test_autocomplete_js + xhr :get, :autocomplete, :format => 'js', :q => 'coo' assert_response :success assert_equal 'text/javascript', response.content_type end |