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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
c626ec37
Commit
c626ec37
authored
Oct 03, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement pending dashboard step
parent
4f7bd583
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
features/steps/dashboard/dashboard.rb
features/steps/dashboard/dashboard.rb
+14
-0
No files found.
features/steps/dashboard/dashboard.rb
View file @
c626ec37
...
@@ -64,6 +64,14 @@ class Dashboard < Spinach::FeatureSteps
...
@@ -64,6 +64,14 @@ class Dashboard < Spinach::FeatureSteps
@project
.
add_access
(
@user
,
:admin
)
@project
.
add_access
(
@user
,
:admin
)
end
end
And
'I have group with projects'
do
@group
=
Factory
:group
@project
=
Factory
:project
,
group:
@group
@event
=
Factory
:closed_issue_event
,
project:
@project
@project
.
add_access
current_user
,
:admin
end
And
'project "Shop" has push event'
do
And
'project "Shop" has push event'
do
@project
=
Project
.
find_by_name
(
"Shop"
)
@project
=
Project
.
find_by_name
(
"Shop"
)
...
@@ -89,4 +97,10 @@ class Dashboard < Spinach::FeatureSteps
...
@@ -89,4 +97,10 @@ class Dashboard < Spinach::FeatureSteps
:author_id
=>
@user
.
id
:author_id
=>
@user
.
id
)
)
end
end
Then
'I should see groups list'
do
Group
.
all
.
each
do
|
group
|
page
.
should
have_link
group
.
name
end
end
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