提交 d3559e25 编写于 作者: D Dmitriy Zaporozhets

fix tabs features

上级 84652388
......@@ -3,9 +3,9 @@ module SharedActiveTab
def ensure_active_main_tab(content)
if content == "Home"
page.find('ul.main_menu li.active').should have_css('i.icon-home')
page.find('.main-nav li.active').should have_css('i.icon-home')
else
page.find('ul.main_menu li.active').should have_content(content)
page.find('.main-nav li.active').should have_content(content)
end
end
......@@ -14,7 +14,7 @@ module SharedActiveTab
end
And 'no other main tabs should be active' do
page.should have_selector('ul.main_menu li.active', count: 1)
page.should have_selector('.main-nav li.active', count: 1)
end
And 'no other sub tabs should be active' do
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册