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
da0df236
Commit
da0df236
authored
Sep 11, 2017
by
Tim Zallmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented the new Description Content
parent
cc5ccb74
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
app/serializers/build_details_entity.rb
app/serializers/build_details_entity.rb
+1
-1
features/steps/project/redirects.rb
features/steps/project/redirects.rb
+0
-1
spec/features/projects/jobs_spec.rb
spec/features/projects/jobs_spec.rb
+1
-1
No files found.
app/serializers/build_details_entity.rb
View file @
da0df236
...
...
@@ -33,7 +33,7 @@ class BuildDetailsEntity < JobEntity
def
build_failed_issue_options
{
title:
"Job Failed #
#{
build
.
id
}
"
,
description:
project_job_url
(
project
,
build
)
}
description:
"Job [#
#{
build
.
id
}
](
#{
project_job_path
(
project
,
build
)
}
) failed for
#{
build
.
sha
}
:
\n
"
}
end
def
current_user
...
...
features/steps/project/redirects.rb
View file @
da0df236
...
...
@@ -17,7 +17,6 @@ class Spinach::Features::ProjectRedirects < Spinach::FeatureSteps
end
step
'I should see project "Community" home page'
do
Gitlab
.
config
.
gitlab
.
should_receive
(
:host
).
and_return
(
"www.example.com"
)
page
.
within
'.breadcrumbs .breadcrumb-item-text'
do
expect
(
page
).
to
have_content
'Community'
end
...
...
spec/features/projects/jobs_spec.rb
View file @
da0df236
...
...
@@ -166,7 +166,7 @@ feature 'Jobs' do
it
'links to issues/new with the title and description filled in'
do
button_title
=
"Job Failed #
#{
job
.
id
}
"
job_url
=
project_job_url
(
project
,
job
)
options
=
{
issue:
{
title:
button_title
,
description:
job_url
}
}
options
=
{
issue:
{
title:
button_title
,
description:
"Job [#
#{
job
.
id
}
](
#{
job_url
}
) failed for
#{
job
.
sha
}
:
\n
"
}
}
href
=
new_project_issue_path
(
project
,
options
)
...
...
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