Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F462656
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
Sun, May 18, 11:17 PM
Size
450 B
Mime Type
text/x-ruby
Expires
Tue, May 20, 11:17 PM (15 h, 15 m)
Engine
blob
Format
Raw Data
Handle
220655
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