summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-09-06 16:59:57 +0100
committerPhil Hughes <me@iamphill.com>2017-09-06 16:59:57 +0100
commite58750dd08d1af7322a1bbdd5bfcc3667d33fc15 (patch)
tree1b97b42bf4b9440cde2abcd9e349cf664e204c56
parent4720d0394a988b79a6f3b79d5a6f1c61fcc3c7a5 (diff)
downloadgitlab-ce-fly-out-top-level-item.tar.gz
fixed spinach specsfly-out-top-level-item
-rw-r--r--features/steps/shared/active_tab.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/shared/active_tab.rb b/features/steps/shared/active_tab.rb
index 6e4370696ab..104d024fee2 100644
--- a/features/steps/shared/active_tab.rb
+++ b/features/steps/shared/active_tab.rb
@@ -7,7 +7,7 @@ module SharedActiveTab
end
def ensure_active_main_tab(content)
- expect(first('.sidebar-top-level-items > li.active')).to have_content(content)
+ expect(find('.sidebar-top-level-items > li.active')).to have_content(content)
end
def ensure_active_sub_tab(content)