Last change
on this file since 364 was 312, checked in by KOBAYASHI, Shinji, 15 years ago |
commit from amsterdam
|
File size:
538 bytes
|
Rev | Line | |
---|
[312] | 1 | require File.dirname(__FILE__) + '/../../../../../spec_helper'
|
---|
| 2 | include OpenEHR::RM::Common::Generic
|
---|
| 3 | include OpenEHR::RM::Support::Identification
|
---|
| 4 |
|
---|
| 5 | describe PartyProxy do
|
---|
| 6 | before(:each) do
|
---|
| 7 | external_ref = stub(PartyRef, :namespace => 'NERV')
|
---|
| 8 | @party_proxy = PartyProxy.new(:external_ref => external_ref)
|
---|
| 9 | end
|
---|
| 10 |
|
---|
| 11 | it 'should be an isntance of PartyProxy' do
|
---|
| 12 | @party_proxy.should be_an_instance_of PartyProxy
|
---|
| 13 | end
|
---|
| 14 |
|
---|
| 15 | it 'exnternal_ref.namespace should be NERV' do
|
---|
| 16 | @party_proxy.external_ref.namespace.should == 'NERV'
|
---|
| 17 | end
|
---|
| 18 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.