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
83600e94
Commit
83600e94
authored
Sep 04, 2017
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set project / pipeline before context in job API specs
parent
f3f1ad39
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/requests/api/jobs_spec.rb
spec/requests/api/jobs_spec.rb
+2
-2
No files found.
spec/requests/api/jobs_spec.rb
View file @
83600e94
require
'spec_helper'
require
'spec_helper'
describe
API
::
Jobs
do
describe
API
::
Jobs
do
let!
(
:project
)
do
set
(
:project
)
do
create
(
:project
,
:repository
,
public_builds:
false
)
create
(
:project
,
:repository
,
public_builds:
false
)
end
end
let!
(
:pipeline
)
do
set
(
:pipeline
)
do
create
(
:ci_empty_pipeline
,
project:
project
,
create
(
:ci_empty_pipeline
,
project:
project
,
sha:
project
.
commit
.
id
,
sha:
project
.
commit
.
id
,
ref:
project
.
default_branch
)
ref:
project
.
default_branch
)
...
...
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