Sha256: 5917d8606ab97f84be25ed088e63b0c98e038e606029dc0b2f5a76bdaf5d1034

Contents?: true

Size: 637 Bytes

Versions: 19

Compression:

Stored size: 637 Bytes

Contents

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

describe AccessGroupRef do
  before(:each) do
    objectid = ObjectID.new(:value => 'deadbeefbabe')
    @access_group_ref = AccessGroupRef.new(:id => objectid,
                                           :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

19 entries across 19 versions & 2 rubygems

Version Path
openehr-1.2.8 spec/lib/openehr/rm/support/identification/access_group_ref_spec.rb
openehr-1.2.7 spec/lib/openehr/rm/support/identification/access_group_ref_spec.rb
openehr-1.2.6 spec/lib/openehr/rm/support/identification/access_group_ref_spec.rb
openehr-1.2.5 spec/lib/openehr/rm/support/identification/access_group_ref_spec.rb
openehr-1.2.4 spec/lib/openehr/rm/support/identification/access_group_ref_spec.rb
openehr-1.2.3 spec/lib/openehr/rm/support/identification/access_group_ref_spec.rb
openehr-1.2.2 spec/lib/openehr/rm/support/identification/access_group_ref_spec.rb
openehr-1.2.1 spec/lib/openehr/rm/support/identification/access_group_ref_spec.rb
openehr-1.2.0 spec/lib/openehr/rm/support/identification/access_group_ref_spec.rb
openehr-1.1.6 spec/lib/openehr/rm/support/identification/access_group_ref_spec.rb
openehr-1.1.5 spec/lib/openehr/rm/support/identification/access_group_ref_spec.rb
openehr-1.1.4 spec/lib/openehr/rm/support/identification/access_group_ref_spec.rb
openehr-1.1.3 spec/lib/openehr/rm/support/identification/access_group_ref_spec.rb
openehr-1.1.2 spec/lib/openehr/rm/support/identification/access_group_ref_spec.rb
openehr-1.1.1 spec/lib/openehr/rm/support/identification/access_group_ref_spec.rb
openehr-1.1.0 spec/lib/openehr/rm/support/identification/access_group_ref_spec.rb
open_ehr-1.0.2 spec/lib/open_ehr/rm/support/identification/access_group_ref_spec.rb
open_ehr-1.0.1 spec/lib/open_ehr/rm/support/identification/access_group_ref_spec.rb
open_ehr-1.0.0 spec/lib/open_ehr/rm/support/identification/access_group_ref_spec.rb