require 'spec_helper'
context 'when a timeout is not set' do
end
it 'will complain with an error' do end
end
context 'when a timeout has been set' do
context 'when the state is processing' do
end
it 'will set the state of the ontology version to failed' do end
it 'will set the error message of the ontology version accordingly' do end
it 'will set the state of the ontology to failed' do end
end
context 'when the version is done' do
it 'will not touch the state of the ontology_version' do end
it 'will not touch the state of the ontology' do end
end
context 'when the version is failed' do
it 'will not touch the state of the ontology_version' do end
it 'will not touch the state of the ontology' do end
end
end
end