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
Léo-Paul Géneau
gitlab-ce
Commits
9b609c1d
Commit
9b609c1d
authored
Aug 03, 2018
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec
parent
3d13cd2c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
spec/factories/merge_requests.rb
spec/factories/merge_requests.rb
+1
-1
spec/models/ci/build_spec.rb
spec/models/ci/build_spec.rb
+1
-1
No files found.
spec/factories/merge_requests.rb
View file @
9b609c1d
...
@@ -94,7 +94,7 @@ FactoryBot.define do
...
@@ -94,7 +94,7 @@ FactoryBot.define do
merge_request
.
head_pipeline
=
build
(
merge_request
.
head_pipeline
=
build
(
:ci_pipeline
,
:ci_pipeline
,
:success
,
:success
,
:test_reports
,
:
with_
test_reports
,
project:
merge_request
.
source_project
,
project:
merge_request
.
source_project
,
ref:
merge_request
.
source_branch
,
ref:
merge_request
.
source_branch
,
sha:
merge_request
.
diff_head_sha
)
sha:
merge_request
.
diff_head_sha
)
...
...
spec/models/ci/build_spec.rb
View file @
9b609c1d
...
@@ -2838,7 +2838,7 @@ describe Ci::Build do
...
@@ -2838,7 +2838,7 @@ describe Ci::Build do
end
end
it
'raises an error'
do
it
'raises an error'
do
expect
{
subject
}.
to
raise_error
(
Gitlab
::
Ci
::
Parsers
::
Junit
Parser
::
JunitParserError
)
expect
{
subject
}.
to
raise_error
(
Gitlab
::
Ci
::
Parsers
::
Junit
::
JunitParserError
)
end
end
end
end
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