Line | |
---|
1 | require File.dirname(__FILE__) + '/../../../../../spec_helper'
|
---|
2 |
|
---|
3 | include OpenEhr::RM::DataStructures::ItemStructure
|
---|
4 | include OpenEhr::RM::DataStructures::ItemStructure::Representation
|
---|
5 | include OpenEhr::RM::DataTypes::Text
|
---|
6 |
|
---|
7 | describe 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
|
---|
17 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.