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
094de17e
Commit
094de17e
authored
Sep 06, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spec fixes
parent
632b2482
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
+7
-7
features/steps/group/milestones.rb
features/steps/group/milestones.rb
+1
-1
features/steps/project/issues/issues.rb
features/steps/project/issues/issues.rb
+1
-1
features/steps/project/issues/milestones.rb
features/steps/project/issues/milestones.rb
+1
-1
features/steps/project/merge_requests.rb
features/steps/project/merge_requests.rb
+1
-1
features/steps/project/snippets.rb
features/steps/project/snippets.rb
+1
-1
spec/features/dashboard/issues_filter_spec.rb
spec/features/dashboard/issues_filter_spec.rb
+1
-1
spec/features/issues_spec.rb
spec/features/issues_spec.rb
+1
-1
No files found.
features/steps/group/milestones.rb
View file @
094de17e
...
@@ -47,7 +47,7 @@ class Spinach::Features::GroupMilestones < Spinach::FeatureSteps
...
@@ -47,7 +47,7 @@ class Spinach::Features::GroupMilestones < Spinach::FeatureSteps
end
end
step
'I click new milestone button'
do
step
'I click new milestone button'
do
page
.
within
(
'.
breadcrumb
s'
)
do
page
.
within
(
'.
nav-control
s'
)
do
click_link
"New milestone"
click_link
"New milestone"
end
end
end
end
...
...
features/steps/project/issues/issues.rb
View file @
094de17e
...
@@ -62,7 +62,7 @@ class Spinach::Features::ProjectIssues < Spinach::FeatureSteps
...
@@ -62,7 +62,7 @@ class Spinach::Features::ProjectIssues < Spinach::FeatureSteps
end
end
step
'I click link "New issue"'
do
step
'I click link "New issue"'
do
page
.
within
'.
breadcrumb
s'
do
page
.
within
'.
nav-control
s'
do
page
.
has_link?
(
'New Issue'
)
?
click_link
(
'New Issue'
)
:
click_link
(
'New issue'
)
page
.
has_link?
(
'New Issue'
)
?
click_link
(
'New Issue'
)
:
click_link
(
'New issue'
)
end
end
end
end
...
...
features/steps/project/issues/milestones.rb
View file @
094de17e
...
@@ -16,7 +16,7 @@ class Spinach::Features::ProjectIssuesMilestones < Spinach::FeatureSteps
...
@@ -16,7 +16,7 @@ class Spinach::Features::ProjectIssuesMilestones < Spinach::FeatureSteps
end
end
step
'I click link "New Milestone"'
do
step
'I click link "New Milestone"'
do
page
.
within
(
'.
breadcrumb
s'
)
do
page
.
within
(
'.
nav-control
s'
)
do
click_link
"New milestone"
click_link
"New milestone"
end
end
end
end
...
...
features/steps/project/merge_requests.rb
View file @
094de17e
...
@@ -14,7 +14,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
...
@@ -14,7 +14,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
end
end
step
'I click link "New Merge Request"'
do
step
'I click link "New Merge Request"'
do
page
.
within
'.
breadcrumb
s'
do
page
.
within
'.
nav-control
s'
do
page
.
has_link?
(
'New Merge Request'
)
?
click_link
(
"New Merge Request"
)
:
click_link
(
'New merge request'
)
page
.
has_link?
(
'New Merge Request'
)
?
click_link
(
"New Merge Request"
)
:
click_link
(
'New merge request'
)
end
end
end
end
...
...
features/steps/project/snippets.rb
View file @
094de17e
...
@@ -23,7 +23,7 @@ class Spinach::Features::ProjectSnippets < Spinach::FeatureSteps
...
@@ -23,7 +23,7 @@ class Spinach::Features::ProjectSnippets < Spinach::FeatureSteps
end
end
step
'I click link "New snippet"'
do
step
'I click link "New snippet"'
do
page
.
within
'.
breadcrumb
s'
do
page
.
within
'.
nav-control
s'
do
first
(
:link
,
"New snippet"
).
click
first
(
:link
,
"New snippet"
).
click
end
end
end
end
...
...
spec/features/dashboard/issues_filter_spec.rb
View file @
094de17e
...
@@ -50,7 +50,7 @@ feature 'Dashboard Issues filtering', :js do
...
@@ -50,7 +50,7 @@ feature 'Dashboard Issues filtering', :js do
it
'updates atom feed link'
do
it
'updates atom feed link'
do
visit_issues
(
milestone_title:
''
,
assignee_id:
user
.
id
)
visit_issues
(
milestone_title:
''
,
assignee_id:
user
.
id
)
link
=
find
(
'.
breadcrumb
s a[title="Subscribe"]'
)
link
=
find
(
'.
nav-control
s a[title="Subscribe"]'
)
params
=
CGI
.
parse
(
URI
.
parse
(
link
[
:href
]).
query
)
params
=
CGI
.
parse
(
URI
.
parse
(
link
[
:href
]).
query
)
auto_discovery_link
=
find
(
'link[type="application/atom+xml"]'
,
visible:
false
)
auto_discovery_link
=
find
(
'link[type="application/atom+xml"]'
,
visible:
false
)
auto_discovery_params
=
CGI
.
parse
(
URI
.
parse
(
auto_discovery_link
[
:href
]).
query
)
auto_discovery_params
=
CGI
.
parse
(
URI
.
parse
(
auto_discovery_link
[
:href
]).
query
)
...
...
spec/features/issues_spec.rb
View file @
094de17e
...
@@ -577,7 +577,7 @@ describe 'Issues' do
...
@@ -577,7 +577,7 @@ describe 'Issues' do
it
'redirects to signin then back to new issue after signin'
do
it
'redirects to signin then back to new issue after signin'
do
visit
project_issues_path
(
project
)
visit
project_issues_path
(
project
)
page
.
within
'.
breadcrumb
s'
do
page
.
within
'.
nav-control
s'
do
click_link
'New issue'
click_link
'New issue'
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