Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F905147
pools_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
Fri, Aug 29, 9:33 PM
Size
471 B
Mime Type
text/x-ruby
Expires
Sun, Aug 31, 9:33 PM (6 h, 16 m)
Engine
blob
Format
Raw Data
Handle
252504
Attached To
rARCHIVING archiving
pools_routing_spec.rb
View Options
require
'spec_helper'
describe
Admin
::
PoolsController
do
it
'routes GET /admin/pools'
do
expect
(
get
(
'/admin/pools'
))
.
to
route_to
(
controller
:
'admin/pools'
,
action
:
'index'
)
end
it
'routes GET /admin/pools/new'
do
expect
(
get
(
'/admin/pools/new'
))
.
to
route_to
(
controller
:
'admin/pools'
,
action
:
'new'
)
end
it
'routes POST /admin/pools'
do
expect
(
post
(
'/admin/pools'
))
.
to
route_to
(
controller
:
'admin/pools'
,
action
:
'create'
)
end
end
Event Timeline
Log In to Comment