source: ruby/branches/0.5/spec/lib/open_ehr/rm/data_structures/item_structure/item_single_spec.rb@ 216

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

move from Test:Unit to RSpec

File size: 687 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 ItemSingle do
8 before(:all) do
9 name =
10 @element = Element.new(:name => DvText.new('item'),
11 :archetype_node_id => 'AT0000',
12 :value => DvQuantity.new())
13 item_single_name = DvText.new('item single')
14 @item_single = ItemSingle.new(:name => item_single_name,
15 :archetype_node_id => 'test',
16 :item => @element)
17
18 end
19
20
21end
Note: See TracBrowser for help on using the repository browser.