source: ruby/branches/0.5/spec/lib/open_ehr/rm/data_types/text/dv_paragraph_spec.rb

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

move from test to rspec

File size: 331 bytes
Line 
1require File.dirname(__FILE__) + '/../../../../../spec_helper'
2include OpenEHR::RM::DataTypes::Text
3
4describe DvParagraph do
5 before(:each) do
6 items_dummy = Array[1,2]
7 @dv_paragraph = DvParagraph.new(:items => items_dummy)
8 end
9
10 it 's items should be_size 2' do
11 @dv_paragraph.items.size.should be_equal 2
12 end
13end
Note: See TracBrowser for help on using the repository browser.