Cross Reference:
xref
: /
ontohub
/
test
/
factories
/
ontology.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
ontology.rb revision d95c0de1fbdb66e2aa8d2dc223ad554413f1dc87
Factory.sequence
:
iri
do
|n|
"gopher://
host
/
ontology
/#{n}"
end
FactoryGirl.define
do
factory
:
ontology
do
iri
{
Factory.next
:
iri
}
name
{
Faker
::
Name.name
}
description
{
Faker
::
Lorem.paragraph
}
factory
:
single_ontology
,
class
:
SingleOntology
do
end
factory
:
distributed_ontology
,
class
:
DistributedOntology
do
end
end
end