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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
3db45574
Commit
3db45574
authored
Sep 07, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spec fixes
parent
89111e73
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
features/steps/groups_management.rb
features/steps/groups_management.rb
+4
-4
spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb
spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb
+1
-1
No files found.
features/steps/groups_management.rb
View file @
3db45574
...
...
@@ -24,7 +24,7 @@ class Spinach::Features::GroupsManagement < Spinach::FeatureSteps
step
'I go to "Open" project members page'
do
click_link
'Sourcing / Open'
page
.
within
(
'.nav-sidebar'
)
do
click_link
'Settings'
first
(
:link
,
text:
'Settings'
).
click
end
click_link
'Members'
end
...
...
@@ -38,7 +38,7 @@ class Spinach::Features::GroupsManagement < Spinach::FeatureSteps
visit
root_path
click_link
'Sourcing / Open'
page
.
within
(
'.nav-sidebar'
)
do
click_link
'Settings'
first
(
:link
,
text:
'Settings'
).
click
end
click_link
'Members'
end
...
...
@@ -47,10 +47,10 @@ class Spinach::Features::GroupsManagement < Spinach::FeatureSteps
visit
dashboard_groups_path
click_link
'Sourcing'
page
.
within
'.nav-sidebar'
do
fi
nd
(
'a'
,
text:
'Settings'
).
trigger
(
'click'
)
fi
rst
(
:link
,
text:
'Settings'
).
click
end
page
.
within
'.sidebar-top-level-items > .active'
do
find
(
'a'
,
text:
'General'
).
trigger
(
'click'
)
click_link
'General'
end
end
...
...
spec/views/layouts/nav/sidebar/_project.html.haml_spec.rb
View file @
3db45574
...
...
@@ -27,7 +27,7 @@ describe 'layouts/nav/sidebar/_project' do
it
'highlights only one tab'
do
render
expect
(
rendered
).
to
have_css
(
'.active'
,
count:
1
)
expect
(
rendered
).
to
have_css
(
'.active'
,
count:
2
)
end
it
'highlights container registry tab only'
do
...
...
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