summaryrefslogtreecommitdiff
path: root/features/steps/dashboard/projects.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-03-13 22:36:39 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-03-13 22:36:39 +0200
commitc8e1c53f43aa09c5e801cdcdc8f4b44576b34274 (patch)
treea1117aebab052fdd3783154327c79946459c8b71 /features/steps/dashboard/projects.rb
parent3f2d94105b9671fc7ccfd5e18631e525f8a7015d (diff)
parent170340e6b15f91e79cf683c892ec887c3115b317 (diff)
downloadgitlab-ce-c8e1c53f43aa09c5e801cdcdc8f4b44576b34274.tar.gz
Merge branch 'rm-dir-prefix' of https://github.com/cirosantilli/gitlab-elearn into cirosantilli-rm-dir-prefix
Diffstat (limited to 'features/steps/dashboard/projects.rb')
-rw-r--r--features/steps/dashboard/projects.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/features/steps/dashboard/projects.rb b/features/steps/dashboard/projects.rb
new file mode 100644
index 00000000000..85251565446
--- /dev/null
+++ b/features/steps/dashboard/projects.rb
@@ -0,0 +1,11 @@
+class DashboardProjects < Spinach::FeatureSteps
+ include SharedAuthentication
+ include SharedPaths
+ include SharedProject
+
+ Then 'I should see projects list' do
+ @user.authorized_projects.all.each do |project|
+ page.should have_link project.name_with_namespace
+ end
+ end
+end