Cross Reference: axioms_controller_spec.rb
xref
: /
ontohub
/
spec
/
controllers
/
axioms_controller_spec.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
require
'spec_helper'
describe
AxiomsController
do
let
!
(:
axiom
)
{
create
:
axiom
}
let
!
(:
ontology
)
{
axiom.ontology
}
context
'on GET to index'
do
render_views
before
do
get
:
index
,
repository_id
:
ontology.repository.to
_param
,
ontology_id
:
ontology.to
_param
end
it
{
should
respond_with
:
success
}
it
{
should
render_template
:
index
}
it
{
should
render_template
'axioms/_axiom'
}
end
end