source: ruby/branches/0.5/spec/lib/open_ehr/rm/composition/content/content_item_spec.rb@ 347

Last change on this file since 347 was 347, checked in by KOBAYASHI, Shinji, 14 years ago

fixed #56

File size: 448 bytes
Line 
1require File.dirname(__FILE__) + '/../../../../../spec_helper'
2include OpenEHR::RM::Composition::Content
3include OpenEHR::RM::DataTypes::Text
4
5describe ContentItem do
6 before(:each) do
7 @content_item = ContentItem.new(:name => DvText.new(:value => 'item'),
8 :archetype_node_id => 'at0001')
9 end
10
11 it 'should be an instance of ContentItem' do
12 @content_item.should be_an_instance_of ContentItem
13 end
14end
Note: See TracBrowser for help on using the repository browser.