Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
d24fd32a
Commit
d24fd32a
authored
Jan 27, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature tests
parent
cd47e625
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
0 deletions
+18
-0
features/dashboard/projects.feature
features/dashboard/projects.feature
+8
-0
features/steps/dashboard/dashboard.rb
features/steps/dashboard/dashboard.rb
+6
-0
features/steps/shared/paths.rb
features/steps/shared/paths.rb
+4
-0
No files found.
features/dashboard/projects.feature
0 → 100644
View file @
d24fd32a
Feature
:
Dashboard
Background
:
Given
I sign in as a user
And
I own project
"Shop"
And
I visit dashboard projects page
Scenario
:
I
should see issues list
Then
I should see projects list
features/steps/dashboard/dashboard.rb
View file @
d24fd32a
...
@@ -63,6 +63,12 @@ class Dashboard < Spinach::FeatureSteps
...
@@ -63,6 +63,12 @@ class Dashboard < Spinach::FeatureSteps
@project
.
team
<<
[
current_user
,
:master
]
@project
.
team
<<
[
current_user
,
:master
]
end
end
Then
'I should see projects list'
do
@user
.
authorized_projects
.
all
.
each
do
|
project
|
page
.
should
have_link
project
.
name_with_namespace
end
end
Then
'I should see groups list'
do
Then
'I should see groups list'
do
Group
.
all
.
each
do
|
group
|
Group
.
all
.
each
do
|
group
|
page
.
should
have_link
group
.
name
page
.
should
have_link
group
.
name
...
...
features/steps/shared/paths.rb
View file @
d24fd32a
...
@@ -33,6 +33,10 @@ module SharedPaths
...
@@ -33,6 +33,10 @@ module SharedPaths
visit
dashboard_path
visit
dashboard_path
end
end
Given
'I visit dashboard projects page'
do
visit
projects_dashboard_path
end
Given
'I visit dashboard issues page'
do
Given
'I visit dashboard issues page'
do
visit
issues_dashboard_path
visit
issues_dashboard_path
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment