summaryrefslogtreecommitdiff
path: root/features/snippets/public_snippets.feature
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-10-24 09:39:22 +0000
committerMarin Jankovski <marin@gitlab.com>2014-10-24 09:39:22 +0000
commit8a7b864e41ebc93ea4a184734b6458404cc979a5 (patch)
tree13d4e7f0dfbfb7d77f39b317d86ce416745f789c /features/snippets/public_snippets.feature
parent8157c6b8a557369f875413f506f34d549254de56 (diff)
parent705652d62538ec29d125e0ec62bebc99ddc3af71 (diff)
downloadgitlab-ce-8a7b864e41ebc93ea4a184734b6458404cc979a5.tar.gz
Merge branch 'fix_public_snippets' into 'master'
Fix public snippets See merge request !1214
Diffstat (limited to 'features/snippets/public_snippets.feature')
-rw-r--r--features/snippets/public_snippets.feature5
1 files changed, 5 insertions, 0 deletions
diff --git a/features/snippets/public_snippets.feature b/features/snippets/public_snippets.feature
new file mode 100644
index 00000000000..6964badc413
--- /dev/null
+++ b/features/snippets/public_snippets.feature
@@ -0,0 +1,5 @@
+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"