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
Boxiang Sun
gitlab-ce
Commits
d63aebb7
Commit
d63aebb7
authored
Sep 12, 2017
by
Tim Zallmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Tests + Reverted Try out from before
parent
da0df236
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
features/steps/project/redirects.rb
features/steps/project/redirects.rb
+1
-0
spec/features/projects/jobs_spec.rb
spec/features/projects/jobs_spec.rb
+2
-2
No files found.
features/steps/project/redirects.rb
View file @
d63aebb7
...
@@ -17,6 +17,7 @@ class Spinach::Features::ProjectRedirects < Spinach::FeatureSteps
...
@@ -17,6 +17,7 @@ class Spinach::Features::ProjectRedirects < Spinach::FeatureSteps
end
end
step
'I should see project "Community" home page'
do
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
page
.
within
'.breadcrumbs .breadcrumb-item-text'
do
expect
(
page
).
to
have_content
'Community'
expect
(
page
).
to
have_content
'Community'
end
end
...
...
spec/features/projects/jobs_spec.rb
View file @
d63aebb7
...
@@ -165,8 +165,8 @@ feature 'Jobs' do
...
@@ -165,8 +165,8 @@ feature 'Jobs' do
it
'links to issues/new with the title and description filled in'
do
it
'links to issues/new with the title and description filled in'
do
button_title
=
"Job Failed #
#{
job
.
id
}
"
button_title
=
"Job Failed #
#{
job
.
id
}
"
job_url
=
project_job_
url
(
project
,
job
)
job_url
=
project_job_
path
(
project
,
job
)
options
=
{
issue:
{
title:
button_title
,
description:
"Job [#
#{
job
.
id
}
](
#{
job_url
}
) failed for
#{
job
.
sha
}
:
\n
"
}
}
options
=
{
issue:
{
title:
button_title
,
description:
"Job [#
#{
job
.
id
}
](
#{
job_url
}
) failed for
#{
job
.
sha
}
:
\n
"
}
}
href
=
new_project_issue_path
(
project
,
options
)
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