source:
ruby/branches/0.5/spec/lib/openehr/rm/data_structure/item_structure/item_list_spec.rb@
193
Last change on this file since 193 was 193, checked in by , 15 years ago | |
---|---|
File size: 428 bytes |
Line | |
---|---|
1 | require File.dirname(__FILE__) + '/../../../../../spec_helper' |
2 | include OpenEhr::RM::DataStructures::ItemStructure |
3 | include OpenEhr::RM::DataTypes::Text |
4 | |
5 | describe ItemList do |
6 | before(:each) do |
7 | item_list_name = DvText.new('item list') |
8 | @item_list = ItemList.new(:name => item_list_name, |
9 | :archetype_node_id => 'test') |
10 | end |
11 | |
12 | it 'should be valid' do |
13 | @item_list.should_not be_nil |
14 | end |
15 | end |
Note:
See TracBrowser
for help on using the repository browser.