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
7175b6a7
Commit
7175b6a7
authored
Jan 27, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed dashboard show specs
parent
070f49fd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
spec/requests/atom/dashboard_issues_spec.rb
spec/requests/atom/dashboard_issues_spec.rb
+1
-1
spec/routing/routing_spec.rb
spec/routing/routing_spec.rb
+4
-4
No files found.
spec/requests/atom/dashboard_issues_spec.rb
View file @
7175b6a7
...
...
@@ -10,7 +10,7 @@ describe "Dashboard Issues Feed" do
describe
"atom feed"
do
it
"should render atom feed via private token"
do
visit
dashboard_issues
_path
(
:atom
,
private_token:
user
.
private_token
)
visit
issues_dashboard
_path
(
:atom
,
private_token:
user
.
private_token
)
page
.
response_headers
[
'Content-Type'
].
should
have_content
(
"application/atom+xml"
)
page
.
body
.
should
have_selector
(
"title"
,
text:
"
#{
user
.
name
}
issues"
)
...
...
spec/routing/routing_spec.rb
View file @
7175b6a7
...
...
@@ -146,14 +146,14 @@ describe KeysController, "routing" do
end
end
# dashboard GET /dashboard(.:format) dashboard#
index
# dashboard GET /dashboard(.:format) dashboard#
show
# dashboard_issues GET /dashboard/issues(.:format) dashboard#issues
# dashboard_merge_requests GET /dashboard/merge_requests(.:format) dashboard#merge_requests
# root / dashboard#
index
# root / dashboard#
show
describe
DashboardController
,
"routing"
do
it
"to #index"
do
get
(
"/dashboard"
).
should
route_to
(
'dashboard#
index
'
)
get
(
"/"
).
should
route_to
(
'dashboard#
index
'
)
get
(
"/dashboard"
).
should
route_to
(
'dashboard#
show
'
)
get
(
"/"
).
should
route_to
(
'dashboard#
show
'
)
end
it
"to #issues"
do
...
...
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