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