Cross Reference: oops_requests_routing_spec.rb
xref
: /
ontohub
/
spec
/
fixtures
/
ontologies
/
tptp
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
require
'spec_helper'
describe
OopsRequestsController
do
it
do
should
route
(:
get
,
'/repositories/1/ontologies/12/versions/45/oops_request'
)
.
to
(
controller
: :
oops_requests
,
action
: :
show
,
repository_id
:
'1'
,
ontology_id
:
'12'
,
ontology_version_id
:
'45'
)
end
it
do
should
route
(:
post
,
'/repositories/1/ontologies/12/versions/45/oops_request'
)
.
to
(
controller
: :
oops_requests
,
action
: :
create
,
repository_id
:
'1'
,
ontology_id
:
'12'
,
ontology_version_id
:
'45'
)
end
end