mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 11:25:55 +01:00
Typo that triggers an error when editing a subproject (#5605).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11301 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -392,6 +392,13 @@ class ProjectsControllerTest < ActionController::TestCase
|
||||
assert_template 'settings'
|
||||
end
|
||||
|
||||
def test_settings_of_subproject
|
||||
@request.session[:user_id] = 2
|
||||
get :settings, :id => 'private-child'
|
||||
assert_response :success
|
||||
assert_template 'settings'
|
||||
end
|
||||
|
||||
def test_settings_should_be_denied_for_member_on_closed_project
|
||||
Project.find(1).close
|
||||
@request.session[:user_id] = 2 # manager
|
||||
|
||||
Reference in New Issue
Block a user