require File.dirname(__FILE__) + '/../../../../../spec_helper' include OpenEhr::RM::DataStructures::ItemStructure include OpenEhr::RM::DataStructures::ItemStructure::Representation include OpenEhr::RM::DataTypes::Text describe ItemTree do before(:each) do name = DvText.new('item tree') @item_tree = ItemTree.new(:name => name, :archetype_node_id => 'test') end it 'should be an instance of ItemTree' do @item_tree.should be_an_instance_of ItemTree end end