Commit 4720d039 authored by Phil Hughes's avatar Phil Hughes

spec fixes

parent c56100b3
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment