Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F463059
client_routing_spec.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, May 19, 1:20 AM
Size
402 B
Mime Type
text/x-ruby
Expires
Wed, May 21, 1:20 AM (3 h, 14 m)
Engine
blob
Format
Raw Data
Handle
220772
Attached To
rARCHIVING archiving
client_routing_spec.rb
View Options
require
'spec_helper'
describe
ClientsController
do
it
'routes /clients'
do
expect
(
get
(
'/clients'
))
.
to
route_to
(
controller
:
'clients'
,
action
:
'index'
)
end
it
'routes GET /'
do
expect
(
get
(
'/'
))
.
to
route_to
(
controller
:
'clients'
,
action
:
'index'
)
end
it
'routes GET /clients/1'
do
expect
(
get
(
'/clients/1'
))
.
to
route_to
(
controller
:
'clients'
,
action
:
'show'
,
id
:
'1'
)
end
end
Event Timeline
Log In to Comment