Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F887879
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
Sun, Aug 10, 6:13 AM
Size
471 B
Mime Type
text/x-ruby
Expires
Tue, Aug 12, 6:13 AM (13 h, 12 m)
Engine
blob
Format
Raw Data
Handle
230622
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