Sha256: 08126f5f3947df81206c54bbc3665f86d522f64685f0cd681d535fc43ae72981

Contents?: true

Size: 501 Bytes

Versions: 22

Compression:

Stored size: 501 Bytes

Contents

require File.dirname(__FILE__) + '/../../../spec_helper'
include OpenEHR::Parser

describe ADLParser do
  context 'ADL identification' do
    before(:all) do
      adl_dir = File.dirname(__FILE__) + '/adl14/'
      adl_id_test_file = 'adl-test-entry.archetype_identification.test.adl'
      ap = ADLParser.new(adl_dir + adl_id_test_file)
      archetype = ap.parse
      @adl_version = archetype.adl_version
    end

    it 'ADL version is 1.4' do
      @adl_version.should == '1.4'
    end
  end
end

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
openehr-1.2.8 spec/lib/openehr/parser/adl_identification_spec.rb
openehr-1.2.7 spec/lib/openehr/parser/adl_identification_spec.rb
openehr-1.2.6 spec/lib/openehr/parser/adl_identification_spec.rb
openehr-1.2.5 spec/lib/openehr/parser/adl_identification_spec.rb
openehr-1.2.4 spec/lib/openehr/parser/adl_identification_spec.rb
openehr-1.2.3 spec/lib/openehr/parser/adl_identification_spec.rb
openehr-1.2.2 spec/lib/openehr/parser/adl_identification_spec.rb
openehr-1.2.1 spec/lib/openehr/parser/adl_identification_spec.rb
openehr-1.2.0 spec/lib/openehr/parser/adl_identification_spec.rb
openehr-1.1.6 spec/lib/openehr/parser/adl_identification_spec.rb
openehr-1.1.5 spec/lib/openehr/parser/adl_identification_spec.rb
openehr-1.1.4 spec/lib/openehr/parser/adl_identification_spec.rb
openehr-1.1.3 spec/lib/openehr/parser/adl_identification_spec.rb
openehr-1.1.2 spec/lib/openehr/parser/adl_identification_spec.rb
openehr-1.1.1 spec/lib/openehr/parser/adl_identification_spec.rb
openehr-1.1.0 spec/lib/openehr/parser/adl_identification_spec.rb
open_ehr-1.0.2 spec/lib/open_ehr/parser/adl_identification_spec.rb
open_ehr-1.0.1 spec/lib/open_ehr/parser/adl_identification_spec.rb
open_ehr-1.0.0 spec/lib/open_ehr/parser/adl_identification_spec.rb
open_ehr-0.9.5 spec/lib/open_ehr/parser/adl_identification_spec.rb