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
43336b1d
Commit
43336b1d
authored
Sep 08, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflict in spec/requests/api/jobs_spec.rb
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
2de2fe53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
spec/requests/api/jobs_spec.rb
spec/requests/api/jobs_spec.rb
+0
-11
No files found.
spec/requests/api/jobs_spec.rb
View file @
43336b1d
...
...
@@ -5,11 +5,7 @@ describe API::Jobs do
create
(
:project
,
:repository
,
public_builds:
false
)
end
<<<<<<<
HEAD
let
(
:pipeline
)
do
=======
set
(
:pipeline
)
do
>>>>>>>
upstream
/
master
create
(
:ci_empty_pipeline
,
project:
project
,
sha:
project
.
commit
.
id
,
ref:
project
.
default_branch
)
...
...
@@ -340,18 +336,11 @@ describe API::Jobs do
it_behaves_like
'downloads artifact'
end
<<<<<<<
HEAD
context
'user is admin, but not member'
do
let
(
:api_user
)
{
create
(
:admin
)
}
it
'does not allow to see that artfiact is present'
do
=======
context
'when anonymous user is accessing private artifacts'
do
let
(
:api_user
)
{
nil
}
it
'hides artifacts and rejects request'
do
expect
(
project
).
to
be_private
>>>>>>>
upstream
/
master
expect
(
response
).
to
have_http_status
(
404
)
end
end
...
...
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