source: ruby/branches/0.5/spec/lib/open_ehr/rm/support/identification/template_id_spec.rb@ 271

Last change on this file since 271 was 271, checked in by KOBAYASHI, Shinji, 15 years ago

spec full covered template id

File size: 365 bytes
Line 
1require File.dirname(__FILE__) + '/../../../../../spec_helper'
2include OpenEHR::RM::Support::Identification
3
4describe TemplateID do
5 before(:each) do
6 @template_id = TemplateID.new(:value => 'uk.nhs.cfh:openehr-EHR-COMPOSITION.admission_ed.v5')
7 end
8
9 it 'should be an isntance of TemplateID' do
10 @template_id.should be_an_instance_of TemplateID
11 end
12end
Note: See TracBrowser for help on using the repository browser.