hets_spec.rb revision 56cef2d91f243b2b1f773acc20f9c5ae9fb5c537
require 'spec_helper'
after do
end
context 'Output directory parameter' do
before do
end
it 'correctly be used' do
end
end
before do
end
it 'have created output file' do
end
it 'have generated importable output' do
parse_this(user, ontology, @xml_path, @pp_path)
end
end
end
end
before do
xml_paths = Hets.parse \
'/tmp'
end
end
# This test is disabled, because for this ontology, the XML output of hets
# contains _two_ DGNode tags, which is interpreted as distributed ontology
# Funny though, the test did not fail always. Testing on the existence of
# the XML output file should suffice as hets currently only has to recognize
# the command line option for URL cataloges and does no URL substitutions.
end
end
=end
end
it 'raise exception if provided with wrong file-format' do
end
end
end