From bbb06e504e387762bb5a073d1f0debdc05e03f98 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 18 Jul 2013 13:08:48 +0300 Subject: Add seeds and improve ui. Remove snippet expires_at --- features/steps/snippets/snippets.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'features/steps/snippets') 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 -- cgit v1.2.1