diff options
author | Fabio Papa <fabtheman@gmail.com> | 2019-06-28 23:31:47 +0300 |
---|---|---|
committer | Fabio Papa <fabtheman@gmail.com> | 2019-07-19 23:48:39 +0300 |
commit | ecd21d93d42dc0d65fcdf8d09de5288e56e7b122 (patch) | |
tree | e1b4f414e08f5568e9c0e080f2a9c65c8841357d /spec/requests/api/groups_spec.rb | |
parent | 16cc1300f5650d040df8716b52548d0ac27e3601 (diff) |
Style rules; Revert some examples
Diffstat (limited to 'spec/requests/api/groups_spec.rb')
-rw-r--r-- | spec/requests/api/groups_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/groups_spec.rb b/spec/requests/api/groups_spec.rb index 52d926d5484..c41408fba65 100644 --- a/spec/requests/api/groups_spec.rb +++ b/spec/requests/api/groups_spec.rb @@ -803,10 +803,10 @@ describe API::Groups do group2.add_maintainer(user1) end - it 'can create subgroups' do + it 'cannot create subgroups' do post api("/groups", user1), params: { parent_id: group2.id, name: 'foo', path: 'foo' } - expect(response).to have_gitlab_http_status(201) + expect(response).to have_gitlab_http_status(403) end end end |