mirror of
https://github.com/redmine/redmine.git
synced 2026-07-06 04:07:40 +02:00
Replaces project jump select with custom dropdown (#23310).
git-svn-id: http://svn.redmine.org/redmine/trunk@15994 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user