ontology_version_test.rb revision 22e260fcd85642794d99c2ffaa333f2ef6ed7828
require 'test_helper'
context 'Validating OntologyVersion' do
end
end
end
context 'Creating OntologyVersion' do
setup do
end
context 'without addional attributes' do
should 'be invalid' do
end
end
context 'with invalid source_url' do
setup do
end
should 'be invalid' do
end
end
context 'with valid remote_raw_file_url' do
setup do
@version.remote_raw_file_url = 'http://trac.informatik.uni-bremen.de:8080/hets/export/16726/trunk/OWL2/tests/family.owl'
end
should 'be valid' do
end
end
context 'with valid raw_file' do
setup do
end
should 'be invalid' do
end
end
context 'with valid source_url' do
setup do
end
should 'be valid' do
end
end
end
context 'Parsing' do
setup do
end
should 'raise no exception' do
end
end
should 'raise exception if called without setting raw_file' do
end
end
should 'raise no exception if called with remote iri' do
@ontology_version.remote_raw_file_url = 'http://colore.googlecode.com/svn-history/r679/trunk/ontologies/arithmetic/robinson_arithmetic.clif'
end
end
should 'raise exception if called with unsupported remote file' do
@ontology_version.remote_raw_file_url = 'http://colore.googlecode.com/svn-history/r679/trunk/ontologies/algebra/module.clif'
end
end
end
end