Fix snippets test

This commit is contained in:
Dmitriy Zaporozhets 2013-06-06 09:04:25 +03:00
parent 88deb2217a
commit 6cf6b45adc
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ class ProjectSnippets < Spinach::FeatureSteps
end end
And 'I click link "Edit"' do And 'I click link "Edit"' do
within ".page_title" do within ".file_title" do
click_link "Edit" click_link "Edit"
end end
end end

View file

@ -13,7 +13,7 @@ class SnippetsFeature < Spinach::FeatureSteps
end end
And 'I click link "Edit"' do And 'I click link "Edit"' do
within ".page_title" do within ".file_title" do
click_link "Edit" click_link "Edit"
end end
end end