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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
a0690c4c
Commit
a0690c4c
authored
Dec 19, 2016
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Spaces around literal hash
Feedback:
https://gitlab.com/gitlab-org/gitlab-ce/builds/7617209
parent
e6c83b1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/requests/ci/api/builds_spec.rb
spec/requests/ci/api/builds_spec.rb
+2
-2
No files found.
spec/requests/ci/api/builds_spec.rb
View file @
a0690c4c
...
@@ -250,7 +250,7 @@ describe Ci::API::Builds do
...
@@ -250,7 +250,7 @@ describe Ci::API::Builds do
describe
'PATCH /builds/:id/trace.txt'
do
describe
'PATCH /builds/:id/trace.txt'
do
let
(
:build
)
do
let
(
:build
)
do
attributes
=
{
runner_id:
runner
.
id
,
pipeline:
pipeline
}
attributes
=
{
runner_id:
runner
.
id
,
pipeline:
pipeline
}
create
(
:ci_build
,
:running
,
:trace
,
attributes
)
create
(
:ci_build
,
:running
,
:trace
,
attributes
)
end
end
...
@@ -335,7 +335,7 @@ describe Ci::API::Builds do
...
@@ -335,7 +335,7 @@ describe Ci::API::Builds do
context
'when project for the build has been deleted'
do
context
'when project for the build has been deleted'
do
let
(
:build
)
do
let
(
:build
)
do
attributes
=
{
runner_id:
runner
.
id
,
pipeline:
pipeline
}
attributes
=
{
runner_id:
runner
.
id
,
pipeline:
pipeline
}
create
(
:ci_build
,
:running
,
:trace
,
attributes
)
do
|
build
|
create
(
:ci_build
,
:running
,
:trace
,
attributes
)
do
|
build
|
build
.
project
.
update
(
pending_delete:
true
)
build
.
project
.
update
(
pending_delete:
true
)
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