Last change
on this file since 262 was 262, checked in by KOBAYASHI, Shinji, 15 years ago |
archetype id corrected
|
File size:
374 bytes
|
Rev | Line | |
---|
[262] | 1 | require File.dirname(__FILE__) + '/../../../../../spec_helper'
|
---|
[260] | 2 | include OpenEHR::RM::Support::Identification
|
---|
| 3 |
|
---|
| 4 | describe 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
|
---|
| 16 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.