diff options
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) |