summaryrefslogtreecommitdiff
path: root/features/steps/dashboard/projects.rb
diff options
context:
space:
mode:
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