diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-10-24 09:39:22 +0000 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-10-24 09:39:22 +0000 |
commit | 8a7b864e41ebc93ea4a184734b6458404cc979a5 (patch) | |
tree | 13d4e7f0dfbfb7d77f39b317d86ce416745f789c /features/steps/shared/snippet.rb | |
parent | 8157c6b8a557369f875413f506f34d549254de56 (diff) | |
parent | 705652d62538ec29d125e0ec62bebc99ddc3af71 (diff) | |
download | gitlab-ce-8a7b864e41ebc93ea4a184734b6458404cc979a5.tar.gz |
Merge branch 'fix_public_snippets' into 'master'
Fix public snippets
See merge request !1214
Diffstat (limited to 'features/steps/shared/snippet.rb')
-rw-r--r-- | features/steps/shared/snippet.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/features/steps/shared/snippet.rb b/features/steps/shared/snippet.rb index 432f32defce..bb596c1620a 100644 --- a/features/steps/shared/snippet.rb +++ b/features/steps/shared/snippet.rb @@ -51,4 +51,13 @@ module SharedSnippet visibility_level: Snippet::PUBLIC, author: current_user) end + + step 'There is public "Personal snippet one" snippet' do + create(:personal_snippet, + title: "Personal snippet one", + content: "Test content", + file_name: "snippet.rb", + visibility_level: Snippet::PUBLIC, + author: create(:user)) + end end |