Commit aab5d550 authored by Phil Hughes's avatar Phil Hughes

more spinach fixes

parent 903e1a30
......@@ -23,13 +23,13 @@ class Spinach::Features::ProjectPages < Spinach::FeatureSteps
end
step 'I should see the "Pages" tab' do
page.within '.sub-nav' do
page.within '.nav-sidebar' do
expect(page).to have_link('Pages')
end
end
step 'I should not see the "Pages" tab' do
page.within '.sub-nav' do
page.within '.nav-sidebar' do
expect(page).not_to have_link('Pages')
end
end
......
......@@ -23,7 +23,7 @@ class Spinach::Features::ProjectSnippets < Spinach::FeatureSteps
end
step 'I click link "New snippet"' do
page.within '#content-body' do
page.within '.breadcrumbs' do
first(:link, "New snippet").click
end
end
......
......@@ -5,7 +5,7 @@ module SharedProjectTab
include SharedActiveTab
step 'the active main tab should be Project' do
ensure_active_main_tab('Project')
ensure_active_main_tab('Overview')
end
step 'the active main tab should be Repository' 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