Sha256: f92b58304b018bdea2a2a8a23c7966913f8f65fac67ed04cc8a412f5b4930cdd

Contents?: true

Size: 448 Bytes

Versions: 26

Compression:

Stored size: 448 Bytes

Contents

require File.dirname(__FILE__) + '/../../../../../spec_helper'
include OpenEHR::RM::Composition::Content
include OpenEHR::RM::DataTypes::Text

describe ContentItem do
  before(:each) do
    @content_item = ContentItem.new(:name => DvText.new(:value => 'item'),
                                    :archetype_node_id => 'at0001')
  end

  it 'should be an instance of ContentItem' do
    @content_item.should be_an_instance_of ContentItem
  end
end

Version data entries

26 entries across 26 versions & 2 rubygems

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