diff options
author | Rémy Coutable <remy@rymai.me> | 2019-04-18 13:35:01 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2019-04-19 12:54:15 +0200 |
commit | bfc8ac3e855f9ebb3a9bc9c335077e4120b46b06 (patch) | |
tree | c23eacfa102dcdf18e590c7af406734fc7b571f2 | |
parent | 1f942ca3834078ec7a515132fa16d250c4de3886 (diff) | |
download | gitlab-ce-bfc8ac3e855f9ebb3a9bc9c335077e4120b46b06.tar.gz |
Put three flaky tests in quarantinequarantine-flaky-tests
Signed-off-by: Rémy Coutable <remy@rymai.me>
-rw-r--r-- | spec/requests/api/badges_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/requests/api/badges_spec.rb b/spec/requests/api/badges_spec.rb index 1271324a2ba..1dd0cb4817c 100644 --- a/spec/requests/api/badges_spec.rb +++ b/spec/requests/api/badges_spec.rb @@ -73,7 +73,7 @@ describe API::Badges do let(:badge) { source.badges.first } context "as a #{type}" do - it 'returns 200' do + it 'returns 200', :quarantine do user = public_send(type) get api("/#{source_type.pluralize}/#{source.id}/badges/#{badge.id}", user) @@ -193,7 +193,7 @@ describe API::Badges do end context 'when authenticated as a maintainer/owner' do - it 'updates the member' do + it 'updates the member', :quarantine do put api("/#{source_type.pluralize}/#{source.id}/badges/#{badge.id}", maintainer), params: { link_url: example_url, image_url: example_url2 } @@ -239,7 +239,7 @@ describe API::Badges do end end - context 'when authenticated as a maintainer/owner' do + context 'when authenticated as a maintainer/owner', :quarantine do it 'deletes the badge' do expect do delete api("/#{source_type.pluralize}/#{source.id}/badges/#{badge.id}", maintainer) |