Sha256: 5291c3475c3bb594819d3e0660de62ff2336e3419d2b4d1e96da2e3ba83f89c1

Contents?: true

Size: 685 Bytes

Versions: 26

Compression:

Stored size: 685 Bytes

Contents

require File.dirname(__FILE__) + '/../../../../../spec_helper'
include OpenEHR::AM::Archetype::ConstraintModel
include OpenEHR::AssumedLibraryTypes

describe CReferenceObject do
  before(:each) do
    occurrences = Interval.new(:lower => 0, :upper => 1)
    @c_reference_object = CReferenceObject.new(:path => '/event/[at0001]/',
                                               :rm_type_name => 'DV_TIME',
                                               :node_id => 'ac0001',
                                               :occurrences => occurrences)
  end

  it 'should be an instance of CReferenceObject' do
    @c_reference_object.should be_an_instance_of CReferenceObject
  end
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
openehr-1.2.8 spec/lib/openehr/am/archetype/constraint_model/c_reference_object_spec.rb
openehr-1.2.7 spec/lib/openehr/am/archetype/constraint_model/c_reference_object_spec.rb
openehr-1.2.6 spec/lib/openehr/am/archetype/constraint_model/c_reference_object_spec.rb
openehr-1.2.5 spec/lib/openehr/am/archetype/constraint_model/c_reference_object_spec.rb
openehr-1.2.4 spec/lib/openehr/am/archetype/constraint_model/c_reference_object_spec.rb
openehr-1.2.3 spec/lib/openehr/am/archetype/constraint_model/c_reference_object_spec.rb
openehr-1.2.2 spec/lib/openehr/am/archetype/constraint_model/c_reference_object_spec.rb
openehr-1.2.1 spec/lib/openehr/am/archetype/constraint_model/c_reference_object_spec.rb
openehr-1.2.0 spec/lib/openehr/am/archetype/constraint_model/c_reference_object_spec.rb
openehr-1.1.6 spec/lib/openehr/am/archetype/constraint_model/c_reference_object_spec.rb
openehr-1.1.5 spec/lib/openehr/am/archetype/constraint_model/c_reference_object_spec.rb
openehr-1.1.4 spec/lib/openehr/am/archetype/constraint_model/c_reference_object_spec.rb
openehr-1.1.3 spec/lib/openehr/am/archetype/constraint_model/c_reference_object_spec.rb
openehr-1.1.2 spec/lib/openehr/am/archetype/constraint_model/c_reference_object_spec.rb
openehr-1.1.1 spec/lib/openehr/am/archetype/constraint_model/c_reference_object_spec.rb
openehr-1.1.0 spec/lib/openehr/am/archetype/constraint_model/c_reference_object_spec.rb
open_ehr-1.0.2 spec/lib/open_ehr/am/archetype/constraint_model/c_reference_object_spec.rb
open_ehr-1.0.1 spec/lib/open_ehr/am/archetype/constraint_model/c_reference_object_spec.rb
open_ehr-1.0.0 spec/lib/open_ehr/am/archetype/constraint_model/c_reference_object_spec.rb
open_ehr-0.9.5 spec/lib/open_ehr/am/archetype/constraint_model/c_reference_object_spec.rb