Commit 6cf6b45a authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix snippets test

parent 88deb221
...@@ -42,7 +42,7 @@ class ProjectSnippets < Spinach::FeatureSteps ...@@ -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 ...@@ -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
......
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