symbol_factory.rb revision 5a102b3c56d4ac75632c7e9244ee0ce5bdbbf13a
sequence :symbol_text do |n|
"http://host/ontology/#{n}"
end
sequence :symbol_kind do |n|
"Kind#{n}"
end
sequence :symbol_owl2_text do |n|
"Class <http://example.com/resource##{n}>"
end
sequence :symbol_owl2_name do |n|
"<http://example.com/resource##{n}>"
end
name { FactoryGirl.generate :name }
factory :symbol_owl2 do
end
version =
symbol.ontology.versions << version
symbol.ontology.save
end
end
end
end