source: ruby/branches/0.5/spec/lib/open_ehr/rm/data_structures/item_structure/item_tree_spec.rb@ 214

Last change on this file since 214 was 214, checked in by KOBAYASHI, Shinji, 15 years ago

refs #54

File size: 510 bytes
Line 
1require File.dirname(__FILE__) + '/../../../../../spec_helper'
2
3include OpenEhr::RM::DataStructures::ItemStructure
4include OpenEhr::RM::DataStructures::ItemStructure::Representation
5include OpenEhr::RM::DataTypes::Text
6
7describe ItemTree do
8 before(:each) do
9 name = DvText.new('item tree')
10 @item_tree = ItemTree.new(:name => name,
11 :archetype_node_id => 'test')
12 end
13
14 it 'should be an instance of ItemTree' do
15 @item_tree.should be_an_instance_of ItemTree
16 end
17end
Note: See TracBrowser for help on using the repository browser.