summaryrefslogtreecommitdiff
path: root/features/steps/snippets
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/snippets')
-rw-r--r--features/steps/snippets/snippets.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/features/steps/snippets/snippets.rb b/features/steps/snippets/snippets.rb
index d21ce9334e7..bbdf5b97c84 100644
--- a/features/steps/snippets/snippets.rb
+++ b/features/steps/snippets/snippets.rb
@@ -24,12 +24,11 @@ class SnippetsFeature < Spinach::FeatureSteps
And 'I submit new snippet "Personal snippet three"' do
fill_in "personal_snippet_title", :with => "Personal snippet three"
- select "forever", :from => "personal_snippet_expires_at"
fill_in "personal_snippet_file_name", :with => "my_snippet.rb"
within('.file-editor') do
find(:xpath, "//input[@id='personal_snippet_content']").set 'Content of snippet three'
end
- click_button "Save"
+ click_button "Create snippet"
end
Then 'I should see snippet "Personal snippet three"' do