summaryrefslogtreecommitdiff
path: root/features/snippets
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2014-10-24 11:52:52 +0300
committerValery Sizov <valery@gitlab.com>2014-10-24 11:52:52 +0300
commit705652d62538ec29d125e0ec62bebc99ddc3af71 (patch)
treed93b9d990862b05eb72e8af73a4f6e7ecad60f89 /features/snippets
parentc6efa56ee7039882625942ce29ea9fdeeffaa6cd (diff)
downloadgitlab-ce-705652d62538ec29d125e0ec62bebc99ddc3af71.tar.gz
fix for public snippet
Diffstat (limited to 'features/snippets')
-rw-r--r--features/snippets/public_snippets.feature5
-rw-r--r--features/snippets/snippets.feature2
2 files changed, 6 insertions, 1 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"
diff --git a/features/snippets/snippets.feature b/features/snippets/snippets.feature
index 4c4e3ee2cff..6e8019c326f 100644
--- a/features/snippets/snippets.feature
+++ b/features/snippets/snippets.feature
@@ -25,4 +25,4 @@ Feature: Snippets
Scenario: I destroy "Personal snippet one"
Given I visit snippet page "Personal snippet one"
And I click link "Destroy"
- Then I should not see "Personal snippet one" in snippets
+ Then I should not see "Personal snippet one" in snippets \ No newline at end of file