ontology_test.rb revision 92c8f40524b3849c1964e357e13a4101b005c9ac
require 'test_helper'
context 'Validations' do
end
end
end
context 'ontology instance' do
setup do
end
context 'with name' do
setup do
@name = "fooo"
@ontology.name = @name
end
should 'have to_s' do
end
end
context 'without name' do
setup do
@ontology.name = nil
end
should 'have to_s' do
end
end
end
context 'creating ontology with version' do
setup do
@source_url = 'http://colore.googlecode.com/svn/trunk/ontologies/arithmetic/robinson_arithmetic.clif'
@ontology = Ontology.new \
:iri => 'http://example.com/ontology',
:versions_attributes => [{
}]
end
should 'create a version with source_url' do
end
context 'creating a permission' do
setup do
end
should 'with subject' do
end
should 'with role owner' do
end
end
end
context 'checking ordering of Ontology list' do
setup do
end
@done_state = "done"
end
should 'list done ontologies first' do
end
end
end