Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F4044988
invitation_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
Sat, Jul 18, 8:18 AM
Size
450 B
Mime Type
text/x-ruby
Expires
Mon, Jul 20, 8:18 AM (1 d, 13 h)
Engine
blob
Format
Raw Data
Handle
412437
Attached To
rARCHIVING archiving
invitation_routing_spec.rb
View Options
require
'spec_helper'
describe
InvitationsController
do
it
'routes POST /invitations'
do
expect
(
post
(
'/invitations'
))
.
to
route_to
(
controller
:
'invitations'
,
action
:
'create'
)
end
it
'routes GET /invitations/1/abcdef012345689/accept'
do
expect
(
get
(
'/invitations/1/abcdef012345689/accept'
))
.
to
route_to
(
controller
:
'invitations'
,
action
:
'accept'
,
host_id
:
'1'
,
verification_code
:
'abcdef012345689'
)
end
end
Event Timeline
Log In to Comment