Sha256: 1f82039be49941cd0238d671e0812ee413cd95c9b32f3ae4574b6f98814c5a9f

Contents?: true

Size: 639 Bytes

Versions: 7

Compression:

Stored size: 639 Bytes

Contents

require File.dirname(__FILE__) + '/../../../../../spec_helper'
include OpenEHR::RM::Support::Identification

describe AccessGroupRef do
  before(:each) do
    object_id = ObjectID.new(:value => 'deadbeefbabe')
    @access_group_ref = AccessGroupRef.new(:id => object_id,
                                           :type => 'ACCESS_GROUP',
                                           :namespace => 'unknown')
  end

  it 'should be an instance of AccessGroupRef' do
    @access_group_ref.should be_an_instance_of AccessGroupRef
  end

  it 'type should be equal ACCESS_GROUP' do
    @access_group_ref.type.should == 'ACCESS_GROUP'
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
open_ehr-0.9.5 spec/lib/open_ehr/rm/support/identification/access_group_ref_spec.rb
open_ehr-0.9.4 spec/lib/open_ehr/rm/support/identification/access_group_ref_spec.rb
open_ehr-0.9.3 spec/lib/open_ehr/rm/support/identification/access_group_ref_spec.rb
open_ehr-0.9.2 spec/lib/open_ehr/rm/support/identification/access_group_ref_spec.rb
open_ehr-0.9.1 spec/lib/open_ehr/rm/support/identification/access_group_ref_spec.rb
open_ehr-0.9.0 spec/lib/open_ehr/rm/support/identification/access_group_ref_spec.rb
open_ehr-0.6.1 spec/lib/open_ehr/rm/support/identification/access_group_ref_spec.rb