source:
ruby/branches/0.5/spec/lib/open_ehr/rm/composition/content/content_item_spec.rb@
361
Last change on this file since 361 was 347, checked in by , 15 years ago | |
---|---|
File size: 448 bytes |
Rev | Line | |
---|---|---|
[347] | 1 | require File.dirname(__FILE__) + '/../../../../../spec_helper' |
2 | include OpenEHR::RM::Composition::Content | |
3 | include OpenEHR::RM::DataTypes::Text | |
4 | ||
5 | describe 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 | |
14 | end |
Note:
See TracBrowser
for help on using the repository browser.