Cross Reference:
xref
: /
ontohub
/
test
/
factories
/
ontology.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
ontology.rb revision 772a71bcc07f7001f5cd3cb4c3dc2cf393ffe9be
FactoryGirl.define
do
sequence
:
iri
do
|n|
"gopher://
host
/
ontology
/#{n}"
end
factory
:
ontology
do
association
:
repository
iri
{
FactoryGirl.generate
:
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