summaryrefslogtreecommitdiff
path: root/spec/controllers/groups_controller_spec.rb
diff options
context:
space:
mode:
authorIllya Klymov <xanf@xanf.me>2019-04-02 04:14:19 +0300
committerIllya Klymov <xanf@xanf.me>2019-04-03 11:29:35 +0300
commitffbc66cc0bb62b962779aea4d4b0c06dcf12078e (patch)
tree062af37bc973194dfef84a418efc2cf5cdbf4509 /spec/controllers/groups_controller_spec.rb
parenta374d690e702f26036f38bf375ceb2a5cfa3fe23 (diff)
downloadgitlab-ce-ffbc66cc0bb62b962779aea4d4b0c06dcf12078e.tar.gz
Redirect to edit page on group transfer failurexanf/gitlab-ce-transfer-disables-js
Diffstat (limited to 'spec/controllers/groups_controller_spec.rb')
-rw-r--r--spec/controllers/groups_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/groups_controller_spec.rb b/spec/controllers/groups_controller_spec.rb
index b2e6df6060a..38d7240ea81 100644
--- a/spec/controllers/groups_controller_spec.rb
+++ b/spec/controllers/groups_controller_spec.rb
@@ -616,7 +616,7 @@ describe GroupsController do
end
it 'should redirect to the current path' do
- expect(response).to render_template(:edit)
+ expect(response).to redirect_to(edit_group_path(group))
end
end