summaryrefslogtreecommitdiff
path: root/features/snippets/public_snippets.feature
diff options
context:
space:
mode:
Diffstat (limited to 'features/snippets/public_snippets.feature')
-rw-r--r--features/snippets/public_snippets.feature10
1 files changed, 10 insertions, 0 deletions
diff --git a/features/snippets/public_snippets.feature b/features/snippets/public_snippets.feature
new file mode 100644
index 00000000000..c2afb63b6d8
--- /dev/null
+++ b/features/snippets/public_snippets.feature
@@ -0,0 +1,10 @@
+Feature: Public snippets
+ Scenario: Unauthenticated user should see public snippets
+ Given There is public "Personal snippet one" snippet
+ And I visit snippet page "Personal snippet one"
+ Then I should see snippet "Personal snippet one"
+
+ Scenario: Unauthenticated user should see raw public snippets
+ Given There is public "Personal snippet one" snippet
+ And I visit snippet raw page "Personal snippet one"
+ Then I should see raw snippet "Personal snippet one"