BigW Consortium Gitlab

Fixed tests

parent eb272227
%ul.nav.nav-pills.nav-stacked.nav-stacked-menu.append-bottom-20
%ul.nav.nav-pills.nav-stacked.nav-stacked-menu.append-bottom-20.project-settings-nav
= nav_link(path: 'projects#edit') do
= link_to edit_project_path(@project), class: "stat-tab tab " do
%i.icon-edit
......
......@@ -57,7 +57,9 @@ class ProjectActiveTab < Spinach::FeatureSteps
end
Given 'I click the "Edit" tab' do
click_link('Edit')
within '.project-settings-nav' do
click_link('Project')
end
end
Given 'I click the "Hooks" tab' do
......@@ -73,7 +75,7 @@ class ProjectActiveTab < Spinach::FeatureSteps
end
Then 'the active sub nav should be Edit' do
ensure_active_sub_nav('Edit Project')
ensure_active_sub_nav('Project')
end
Then 'the active sub nav should be Hooks' do
......
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