Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F5134754
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
Mon, Aug 17, 8:23 PM
Size
931 B
Mime Type
text/x-ruby
Expires
Wed, Aug 19, 8:23 PM (5 h, 53 m)
Engine
blob
Format
Raw Data
Handle
418644
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 GET /admin/pools/1'
do
expect
(
get
(
'/admin/pools/1'
))
.
to
route_to
(
controller
:
'admin/pools'
,
action
:
'show'
,
id
:
'1'
)
end
it
'routes GET /admin/pools/1/edit'
do
expect
(
get
(
'/admin/pools/1/edit'
))
.
to
route_to
(
controller
:
'admin/pools'
,
action
:
'edit'
,
id
:
'1'
)
end
it
'routes POST /admin/pools'
do
expect
(
post
(
'/admin/pools'
))
.
to
route_to
(
controller
:
'admin/pools'
,
action
:
'create'
)
end
it
'routes PATCH /admin/pools/1'
do
expect
(
patch
(
'/admin/pools/1'
))
.
to
route_to
(
controller
:
'admin/pools'
,
action
:
'update'
,
id
:
'1'
)
end
end
Event Timeline
Log In to Comment