summaryrefslogtreecommitdiff
path: root/features/snippets
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
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')
-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