diff options
author | Phil Hughes <me@iamphill.com> | 2017-09-06 15:10:53 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-09-06 15:10:53 +0100 |
commit | 4720d0394a988b79a6f3b79d5a6f1c61fcc3c7a5 (patch) | |
tree | f879e6d7770dbae95ae16fe651d2244fa64b8013 /features | |
parent | c56100b3ec26a0f5d71bb80f94c661674b3226b8 (diff) | |
download | gitlab-ce-4720d0394a988b79a6f3b79d5a6f1c61fcc3c7a5.tar.gz |
spec fixes
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/shared/active_tab.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/shared/active_tab.rb b/features/steps/shared/active_tab.rb index 7c0527065f5..6e4370696ab 100644 --- a/features/steps/shared/active_tab.rb +++ b/features/steps/shared/active_tab.rb @@ -11,7 +11,7 @@ module SharedActiveTab end def ensure_active_sub_tab(content) - expect(first('.sidebar-sub-level-items > li.active:not(.fly-out-top-item)')).to have_content(content) + expect(find('.sidebar-sub-level-items > li.active:not(.fly-out-top-item)')).to have_content(content) end def ensure_active_sub_nav(content) |