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.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/features/steps/shared/snippet.rb b/features/steps/shared/snippet.rb
index 543e43196a5..5f89a3ccf65 100644
--- a/features/steps/shared/snippet.rb
+++ b/features/steps/shared/snippet.rb
@@ -18,4 +18,12 @@ module SharedSnippet
private: true,
author: current_user)
end
+ And 'I have a public many lined snippet' do
+ create(:personal_snippet,
+ title: "Many lined snippet",
+ content: "line one\nline two\nline three\nline four\nline five\nline six\nline seven\nline eight\nline nine\nline ten\nline eleven\nline twelve\nline thirteen\nline fourteen",
+ file_name: "many_lined_snippet.rb",
+ private: true,
+ author: current_user)
+ end
end