summaryrefslogtreecommitdiff
path: root/spec/controllers
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-04-17 17:44:30 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-04-17 17:44:30 +0300
commit395fca1493f6a4f8a40941faf43f47f5bf45f5a5 (patch)
tree3662e0523545a4315c3c701fb7cfb0c68ce03dde /spec/controllers
parent7de75920f768b62322a3706fa1ad01d0282a7396 (diff)
downloadgitlab-ce-395fca1493f6a4f8a40941faf43f47f5bf45f5a5.tar.gz
Refactor members controller destroy action
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/projects/project_members_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/projects/project_members_controller_spec.rb b/spec/controllers/projects/project_members_controller_spec.rb
index d61fbc0def1..a4b4392d7cc 100644
--- a/spec/controllers/projects/project_members_controller_spec.rb
+++ b/spec/controllers/projects/project_members_controller_spec.rb
@@ -225,7 +225,7 @@ describe Projects::ProjectMembersController do
id: member
expect(response).to redirect_to(
- namespace_project_project_members_path(project.namespace, project)
+ namespace_project_settings_members_path(project.namespace, project)
)
expect(project.members).to include member
end