summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--features/project/snippets.feature2
-rw-r--r--features/steps/project/project_snippets.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/features/project/snippets.feature b/features/project/snippets.feature
index a26c8dc8474..dfaa02663a0 100644
--- a/features/project/snippets.feature
+++ b/features/project/snippets.feature
@@ -31,5 +31,5 @@ Feature: Project Snippets
Scenario: I destroy "Snippet one"
Given I visit snippet page "Snippet one"
And I click link "Edit"
- And I click link "Destroy"
+ And I click link "Remove Snippet"
Then I should not see "Snippet one" in snippets
diff --git a/features/steps/project/project_snippets.rb b/features/steps/project/project_snippets.rb
index 86c0685256a..5082b31198a 100644
--- a/features/steps/project/project_snippets.rb
+++ b/features/steps/project/project_snippets.rb
@@ -47,8 +47,8 @@ class ProjectSnippets < Spinach::FeatureSteps
end
end
- And 'I click link "Destroy"' do
- click_link "Destroy"
+ And 'I click link "Remove Snippet"' do
+ click_link "Remove snippet"
end
And 'I submit new snippet "Snippet three"' do