BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
build_details_entity.rb
app/serializers/build_details_entity.rb
+1
-1
redirects.rb
features/steps/project/redirects.rb
+0
-1
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