Cross Reference: theorem_factory.rb
xref
: /
ontohub
/
spec
/
factories
/
theorem_factory.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
theorem_factory.rb revision b1ba3fdd9a15df6e312301efd1399d99915cd9d0
0
N/A
FactoryGirl.define
do
0
N/A
factory
:
theorem
do
|
theorem
|
0
N/A
name
{
generate
:
sentence_name
}
0
N/A
text
{
Faker
::
Lorem.sentence
}
0
N/A
proof_status
{
create
:
proof_status_open
}
0
N/A
0
N/A
theorem.after
(:
build
)
do
|
theorem
|
0
N/A
parent_onto
=
create
:
distributed_ontology
, :
with_versioned_children
0
N/A
theorem.ontology
=
parent_onto.children.first
0
N/A
end
0
N/A
end
0
N/A
end
0
N/A