summaryrefslogtreecommitdiff
path: root/features/snippets
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2014-10-27 11:51:31 +0200
committerValery Sizov <valery@gitlab.com>2014-10-27 11:51:31 +0200
commit40c8f159a24b661e9f27dfcde492c4d2a6bbfbe2 (patch)
tree251a6bd55ca28c8b1893bba2414e91f0d58640ae /features/snippets
parent6280b53f305e45d0e6c474dbcf684f0015aee385 (diff)
downloadgitlab-ce-40c8f159a24b661e9f27dfcde492c4d2a6bbfbe2.tar.gz
Fix raw view for public snippets
Diffstat (limited to 'features/snippets')
-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
index 6964badc413..c2afb63b6d8 100644
--- a/features/snippets/public_snippets.feature
+++ b/features/snippets/public_snippets.feature
@@ -3,3 +3,8 @@ Feature: 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"