source: ruby/branches/0.5/spec/lib/open_ehr/rm/support/identification/object_id_spec.rb@ 262

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

archetype id corrected

File size: 374 bytes
Line 
1require File.dirname(__FILE__) + '/../../../../../spec_helper'
2include OpenEHR::RM::Support::Identification
3
4describe ObjectID do
5 before(:each) do
6 @object_id = ObjectID.new(:value => '1')
7 end
8
9 it 'should be an instance of ObjectID' do
10 @object_id.should be_an_instance_of ObjectID
11 end
12
13 it 'value should be 1' do
14 @object_id.value.should == '1'
15 end
16end
Note: See TracBrowser for help on using the repository browser.