diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-18 11:12:01 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-18 11:12:01 +0000 |
commit | 2c191ab06c61b839c3addf6b2f7e5660675908a2 (patch) | |
tree | 66b9a7d1c556917a41ee5c35b87e0a55e02767ab /features | |
parent | 98e1597f8c4a3c55018a8d1f29a8462d2404dadf (diff) | |
parent | 33347efa26857243c9e61d4c89d1c4631244c5be (diff) | |
download | gitlab-ce-2c191ab06c61b839c3addf6b2f7e5660675908a2.tar.gz |
Merge branch 'improve/snippets' of /home/git/repositories/gitlab/gitlabhq
Diffstat (limited to 'features')
-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 |