summaryrefslogtreecommitdiff
path: root/features/steps/shared/snippet.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/shared/snippet.rb')
-rw-r--r--features/steps/shared/snippet.rb9
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