Sha256: e9a3f991130cac709428d3ab1be3599302aa7bd35c5ff7df29562e16532320d6
Contents?: true
Size: 732 Bytes
Versions: 20
Compression:
Stored size: 732 Bytes
Contents
require File.dirname(__FILE__) + '/../../../spec_helper' require File.dirname(__FILE__) + '/parser_spec_helper' # ticket 167 describe ADLParser do context 'Archetype uncommon keys' do before(:all) do archetype = adl14_archetype('adl-test-entry.archetype_uncommonkeys.test.adl') @aterm = archetype.ontology.term_definition(:lang => 'en', :code => 'at0000') end it 's anotherkey value is another key value' do @aterm.items['anotherkey'].should == 'another key value' end it 's text value is test text' do @aterm.items['text'].should == 'test text' end it 's description is test description' do @aterm.items['description'].should == 'test description' end end end
Version data entries
20 entries across 20 versions & 2 rubygems