source: ruby/branches/0.5/spec/lib/openehr/rm/data_structure/item_structure/item_list_spec.rb@ 193

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

start to use RSpec

File size: 428 bytes
Line 
1require File.dirname(__FILE__) + '/../../../../../spec_helper'
2include OpenEhr::RM::DataStructures::ItemStructure
3include OpenEhr::RM::DataTypes::Text
4
5describe ItemList do
6 before(:each) do
7 item_list_name = DvText.new('item list')
8 @item_list = ItemList.new(:name => item_list_name,
9 :archetype_node_id => 'test')
10 end
11
12 it 'should be valid' do
13 @item_list.should_not be_nil
14 end
15end
Note: See TracBrowser for help on using the repository browser.