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
open_ehr-0.9.4 spec/lib/open_ehr/parser/adl_identification_spec.rb
open_ehr-0.9.3 spec/lib/open_ehr/parser/adl_identification_spec.rb