mirror of
https://github.com/redmine/redmine.git
synced 2026-08-06 08:09:20 +02:00
Moves project quick search to a dedicated action.
git-svn-id: http://svn.redmine.org/redmine/trunk@16550 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user