diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-11-26 08:16:15 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-11-26 08:16:15 +0000 |
commit | 62823442d369705290807fa2a5191a1a67d6ee09 (patch) | |
tree | f50e09ed18bbb7fdef85f0fe21d8d18d0a8202b9 /test/functional/projects_controller_test.rb | |
parent | bac3ac738a5cad495eb5862bad4e58cca02c8c6d (diff) | |
download | redmine-62823442d369705290807fa2a5191a1a67d6ee09.tar.gz redmine-62823442d369705290807fa2a5191a1a67d6ee09.zip |
Replaces project jump select with custom dropdown (#23310).
git-svn-id: http://svn.redmine.org/redmine/trunk@15994 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/projects_controller_test.rb')
-rw-r--r-- | test/functional/projects_controller_test.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb index fc261d277..01c68308f 100644 --- a/test/functional/projects_controller_test.rb +++ b/test/functional/projects_controller_test.rb @@ -52,6 +52,12 @@ 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' + assert_response :success + assert_equal 'text/javascript', response.content_type + end + test "#index by non-admin user with view_time_entries permission should show overall spent time link" do @request.session[:user_id] = 3 get :index |