Last change
on this file since 229 was 229, checked in by KOBAYASHI, Shinji, 15 years ago |
move from test to rspec
|
File size:
331 bytes
|
Rev | Line | |
---|
[229] | 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.