Cross Reference: ontology_state_steps.rb
xref
: /
ontohub
/
features
/
step_definitions
/
ontology_state_steps.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
ontology_state_steps.rb revision f7670322c267c298084c3b40ed196cdf9a1f2bc7
Given
(/^
There
is
an
ontology
$/)
do
@
ontology
=
FactoryGirl.create
:
ontology
@
user
=
FactoryGirl.create
:
admin
login_as
@
user
,
scope
: :
user
end
Given
(/^I
visit
the
detail
page
of
the
ontology
$/)
do
pending
(
"Tim knows what is to do and said i should make this comment"
)
end
When
(/^
now
the
state
will
be
updated
$/)
do
pending
end
Then
(/^
the
page
should
change
the
state
on
its
own
$/)
do
pending
end