source: ruby/trunk/spec/lib/open_ehr/serializer/sample_archetype_spec.rb@ 406

Last change on this file since 406 was 406, checked in by KOBAYASHI, Shinji, 14 years ago

serializer implementation

File size: 706 bytes
Line 
1require File.dirname(__FILE__) + '/../../../spec_helper'
2include OpenEHR::AM::Archetype
3include OpenEHR::RM::Support::Identification
4include OpenEHR::RM::DataTypes::Text
5
6shared_examples_for 'sample archetype' do
7 before(:all) do
8 archetype_id = ArchetypeID.new(:value =>
9 'adl-test-ENTRY.most_minimal.v1')
10 terminology_id = TerminologyID.new(:value => 'ISO_639-1')
11 original_language = CodePhrase.new(:code_string => 'en',
12 :terminology_id => terminology_id)
13 @archetype = stub(Archetype, :adl_version => '1.4',
14 :archetype_id => archetype_id,
15 :concept => 'at0000')
16 end
17end
Note: See TracBrowser for help on using the repository browser.