ontology_version_test.rb revision 7097237ffbd7227b30272b307b6e48c78b22ecb1
require 'test_helper'
setup do
end
context 'Validating OntologyVersion' do
end
end
end
context 'Creating OntologyVersion' do
setup do
end
context 'with valid raw_file' do
setup do
end
should 'be invalid' do
end
end
end
context 'OntologyVersion' do
setup do
end
should 'have url' do
assert_equal "http://example.com/ontologies/#{@ontology_version.ontology_id}/versions/1", @ontology_version.url
end
end
context 'Parsing' do
setup do
@version = @ontology.save_file File.open('test/fixtures/ontologies/owl/pizza.owl'), "message", FactoryGirl.create(:user)
end
should 'be done' do
end
end
end