summaryrefslogtreecommitdiff
path: root/features/snippets/discover_snippets.feature
diff options
context:
space:
mode:
authorAndrew8xx8 <avk@8xx8.ru>2013-03-25 02:17:38 +0400
committerAndrew8xx8 <avk@8xx8.ru>2013-03-25 02:19:40 +0400
commit8f08fbfd9f768b885c631bdc8bc8ad202c6827a0 (patch)
treedfbdebbc19d0de48b42b47e5f1b6435db800d0a5 /features/snippets/discover_snippets.feature
parent4be12be62a9dc30faecff139684f7537f0726d45 (diff)
downloadgitlab-ce-8f08fbfd9f768b885c631bdc8bc8ad202c6827a0.tar.gz
Tests for personal snippets added
Diffstat (limited to 'features/snippets/discover_snippets.feature')
-rw-r--r--features/snippets/discover_snippets.feature10
1 files changed, 10 insertions, 0 deletions
diff --git a/features/snippets/discover_snippets.feature b/features/snippets/discover_snippets.feature
new file mode 100644
index 00000000000..d6fd2cd7808
--- /dev/null
+++ b/features/snippets/discover_snippets.feature
@@ -0,0 +1,10 @@
+Feature: Discover Snippets
+ Background:
+ Given I sign in as a user
+ And I have public "Personal snippet one" snippet
+ And I have private "Personal snippet private" snippet
+
+ Scenario: I should see snippets
+ Given I visit snippets page
+ Then I should see "Personal snippet one" in snippets
+ And I should not see "Personal snippet private" in snippets