Last change
on this file since 226 was 216, checked in by KOBAYASHI, Shinji, 15 years ago |
move from Test:Unit to RSpec
|
File size:
687 bytes
|
Rev | Line | |
---|
[216] | 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 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 |
|
---|
| 21 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.