summaryrefslogtreecommitdiff
path: root/features/steps/shared/paths.rb
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/steps/shared/paths.rb
parent4be12be62a9dc30faecff139684f7537f0726d45 (diff)
downloadgitlab-ce-8f08fbfd9f768b885c631bdc8bc8ad202c6827a0.tar.gz
Tests for personal snippets added
Diffstat (limited to 'features/steps/shared/paths.rb')
-rw-r--r--features/steps/shared/paths.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/features/steps/shared/paths.rb b/features/steps/shared/paths.rb
index 42004df426e..08da0908384 100644
--- a/features/steps/shared/paths.rb
+++ b/features/steps/shared/paths.rb
@@ -267,6 +267,14 @@ module SharedPaths
visit project_snippets_path(project)
end
+ Given 'I visit snippets page' do
+ visit snippets_path
+ end
+
+ Given 'I visit new snippet page' do
+ visit new_snippet_path
+ end
+
def root_ref
@project.repository.root_ref
end