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
Kazuhiko Shiozaki
gitlab-ce
Commits
5b0d6ac8
Commit
5b0d6ac8
authored
Dec 28, 2011
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard test fix
parent
de83c91c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
spec/requests/dashboard_spec.rb
spec/requests/dashboard_spec.rb
+6
-2
No files found.
spec/requests/dashboard_spec.rb
View file @
5b0d6ac8
...
@@ -3,12 +3,16 @@ require 'spec_helper'
...
@@ -3,12 +3,16 @@ require 'spec_helper'
describe
"Dashboard"
do
describe
"Dashboard"
do
before
do
before
do
@project
=
Factory
:project
@project
=
Factory
:project
login_as
:user
@user
=
User
.
create
(
:email
=>
"test917@mail.com"
,
:name
=>
"John Smith"
,
:password
=>
"123456"
,
:password_confirmation
=>
"123456"
)
@project
.
add_access
(
@user
,
:read
,
:write
)
login_with
(
@user
)
end
end
describe
"GET /dashboard"
do
describe
"GET /dashboard"
do
before
do
before
do
@project
.
add_access
(
@user
,
:read
,
:write
)
visit
dashboard_path
visit
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