Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
bfc8ac3e
Commit
bfc8ac3e
authored
Apr 18, 2019
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Put three flaky tests in quarantine
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
1f942ca3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/requests/api/badges_spec.rb
spec/requests/api/badges_spec.rb
+3
-3
No files found.
spec/requests/api/badges_spec.rb
View file @
bfc8ac3e
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment