source: ruby/branches/0.5/spec/lib/open_ehr/rm/data_types/basic/data_value_spec.rb@ 217

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

new rspec

File size: 384 bytes
Line 
1require File.dirname(__FILE__) + '/../../../../../spec_helper'
2
3include OpenEHR::RM::DataTypes::Basic
4
5describe DataValue do
6 before(:each) do
7 @data_value = DataValue.new(:value => 'ANY')
8 end
9
10 it 'should be an instance of DataValue' do
11 @data_value.should be_an_instance_of DataValue
12 end
13
14 it 's value should be stub' do
15 @data_value.value.should == 'ANY'
16 end
17end
Note: See TracBrowser for help on using the repository browser.