Updated snippets tests
This commit is contained in:
parent
da5f0b9119
commit
d53bfcb0bb
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue