mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 12:46:07 +10:00
Updated snippets tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user