translated_sentence_spec.rb revision db149239590d2a39d399f12cd01609b190ea4763
require 'spec_helper'
describe TranslatedSentence do
context 'when parsing the CarsAreAudis ontology with symbol mappings', :needs_hets do
let(:repository) { create :repository }
let(:version) { add_fixture_file(repository, 'dol/double_import_blendoid.dol') }
let(:ontology) { version.ontology }
context 'translated sentences should be created correctly' do
it 'should contain a translated sentence for AudiA4 is Audi' do
expect(TranslatedSentence.where(translated_text: 'Class: AudiA4 SubClassOf: Car')).not_to be(nil)
end
end
end
end