summaryrefslogtreecommitdiff
path: root/features/steps/dashboard/projects.rb
diff options
context:
space:
mode:
authorCiro Santillli <ciro.santilli@gmail.com>2014-02-23 10:04:56 +0100
committerCiro Santillli <ciro.santilli@gmail.com>2014-02-23 10:34:39 +0100
commit170340e6b15f91e79cf683c892ec887c3115b317 (patch)
tree19cf1f82b08201295b3e66170a967e813c522189 /features/steps/dashboard/projects.rb
parente868de687da060a109bd67fd492ed110eb134d47 (diff)
downloadgitlab-ce-170340e6b15f91e79cf683c892ec887c3115b317.tar.gz
Remove dir prefix and suffix from tests inside dir.
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