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
e2118d83
Commit
e2118d83
authored
Aug 20, 2018
by
Maciej Sokolowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test for failure_reason in job webhook
parent
77e076d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
spec/lib/gitlab/data_builder/build_spec.rb
spec/lib/gitlab/data_builder/build_spec.rb
+1
-0
No files found.
spec/lib/gitlab/data_builder/build_spec.rb
View file @
e2118d83
...
@@ -15,6 +15,7 @@ describe Gitlab::DataBuilder::Build do
...
@@ -15,6 +15,7 @@ describe Gitlab::DataBuilder::Build do
it
{
expect
(
data
[
:build_id
]).
to
eq
(
build
.
id
)
}
it
{
expect
(
data
[
:build_id
]).
to
eq
(
build
.
id
)
}
it
{
expect
(
data
[
:build_status
]).
to
eq
(
build
.
status
)
}
it
{
expect
(
data
[
:build_status
]).
to
eq
(
build
.
status
)
}
it
{
expect
(
data
[
:build_allow_failure
]).
to
eq
(
false
)
}
it
{
expect
(
data
[
:build_allow_failure
]).
to
eq
(
false
)
}
it
{
expect
(
data
[
:build_failure_reason
]).
to
eq
(
build
.
failure_reason
)
}
it
{
expect
(
data
[
:project_id
]).
to
eq
(
build
.
project
.
id
)
}
it
{
expect
(
data
[
:project_id
]).
to
eq
(
build
.
project
.
id
)
}
it
{
expect
(
data
[
:project_name
]).
to
eq
(
build
.
project
.
full_name
)
}
it
{
expect
(
data
[
:project_name
]).
to
eq
(
build
.
project
.
full_name
)
}
...
...
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