Commit d53bfcb0 authored by Phil Hughes's avatar Phil Hughes

Updated snippets tests

parent da5f0b91
......@@ -43,12 +43,12 @@ class Spinach::Features::ProjectSnippets < Spinach::FeatureSteps
step 'I click link "Edit"' do
page.within ".detail-page-header" do
click_link "Edit"
first(:link, "Edit").click
end
end
step 'I click link "Delete"' do
click_link "Delete"
first(:link, "Delete").click
end
step 'I submit new snippet "Snippet three"' do
......
......@@ -14,12 +14,12 @@ class Spinach::Features::Snippets < Spinach::FeatureSteps
step 'I click link "Edit"' do
page.within ".detail-page-header" do
click_link "Edit"
first(:link, "Edit").click
end
end
step 'I click link "Delete"' do
click_link "Delete"
first(:link, "Delete").click
end
step 'I submit new snippet "Personal snippet three"' 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