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 , 15 years ago | |
---|---|
File size: 331 bytes |
Line | |
---|---|
1 | require File.dirname(__FILE__) + '/../../../../../spec_helper' |
2 | include OpenEHR::RM::DataTypes::Text |
3 | |
4 | describe 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 |
13 | end |
Note:
See TracBrowser
for help on using the repository browser.