Fix snippets test
This commit is contained in:
parent
88deb2217a
commit
6cf6b45adc
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue