diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-18 13:08:48 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-18 13:08:48 +0300 |
commit | bbb06e504e387762bb5a073d1f0debdc05e03f98 (patch) | |
tree | 7c27bb8662bbd3bd0c90bc13290a1171fe804ad0 /features/steps/snippets | |
parent | 02e39563c8e931c94a650f36d8732beecc068019 (diff) | |
download | gitlab-ce-bbb06e504e387762bb5a073d1f0debdc05e03f98.tar.gz |
Add seeds and improve ui. Remove snippet expires_at
Diffstat (limited to 'features/steps/snippets')
-rw-r--r-- | features/steps/snippets/snippets.rb | 3 |
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 |