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
Kazuhiko Shiozaki
gitlab-ce
Commits
6a40718b
Commit
6a40718b
authored
Jan 13, 2016
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
a8b134c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
features/steps/shared/active_tab.rb
features/steps/shared/active_tab.rb
+2
-2
No files found.
features/steps/shared/active_tab.rb
View file @
6a40718b
...
@@ -6,7 +6,7 @@ module SharedActiveTab
...
@@ -6,7 +6,7 @@ module SharedActiveTab
end
end
def
ensure_active_sub_tab
(
content
)
def
ensure_active_sub_tab
(
content
)
expect
(
find
(
'div.content ul.
center-top-menu
li.active'
)).
to
have_content
(
content
)
expect
(
find
(
'div.content ul.
nav-links
li.active'
)).
to
have_content
(
content
)
end
end
def
ensure_active_sub_nav
(
content
)
def
ensure_active_sub_nav
(
content
)
...
@@ -18,7 +18,7 @@ module SharedActiveTab
...
@@ -18,7 +18,7 @@ module SharedActiveTab
end
end
step
'no other sub tabs should be active'
do
step
'no other sub tabs should be active'
do
expect
(
page
).
to
have_selector
(
'div.content ul.
center-top-menu
li.active'
,
count:
1
)
expect
(
page
).
to
have_selector
(
'div.content ul.
nav-links
li.active'
,
count:
1
)
end
end
step
'no other sub navs should be active'
do
step
'no other sub navs should be active'
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