summaryrefslogtreecommitdiff
path: root/spec/controllers/groups_controller_spec.rb
diff options
context:
space:
mode:
authorMichael Kozono <mkozono@gmail.com>2017-05-03 12:01:44 -0700
committerMichael Kozono <mkozono@gmail.com>2017-05-05 12:12:49 -0700
commitfc061c2ecd2e292383017c703220bfb22d0d6dce (patch)
tree46345a721098efa1556a62706e47f2eb2f0bb7db /spec/controllers/groups_controller_spec.rb
parent03144e1c0f2ba41a7570850b69d5029bc2619fd2 (diff)
downloadgitlab-ce-fc061c2ecd2e292383017c703220bfb22d0d6dce.tar.gz
Fix Rubocop failures
Diffstat (limited to 'spec/controllers/groups_controller_spec.rb')
-rw-r--r--spec/controllers/groups_controller_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/controllers/groups_controller_spec.rb b/spec/controllers/groups_controller_spec.rb
index 3398878f330..d86bf1a3d0e 100644
--- a/spec/controllers/groups_controller_spec.rb
+++ b/spec/controllers/groups_controller_spec.rb
@@ -144,13 +144,13 @@ describe GroupsController do
it 'does not 404' do
delete :destroy, id: group.to_param.upcase
- expect(response).to_not have_http_status(404)
+ expect(response).not_to have_http_status(404)
end
it 'does not redirect to the correct casing' do
delete :destroy, id: group.to_param.upcase
- expect(response).to_not redirect_to(group_path(group.to_param))
+ expect(response).not_to redirect_to(group_path(group.to_param))
end
end
@@ -190,13 +190,13 @@ describe GroupsController do
it 'does not 404' do
post :update, id: group.to_param.upcase, group: { path: 'new_path' }
- expect(response).to_not have_http_status(404)
+ expect(response).not_to have_http_status(404)
end
it 'does not redirect to the correct casing' do
post :update, id: group.to_param.upcase, group: { path: 'new_path' }
- expect(response).to_not redirect_to(group_path(group.to_param))
+ expect(response).not_to redirect_to(group_path(group.to_param))
end
end