source:
ruby/trunk/spec/lib/open_ehr/am/archetype/constraint_model/primitive/c_real_spec.rb@
397
Last change on this file since 397 was 396, checked in by , 14 years ago | |
---|---|
File size: 416 bytes |
Line | |
---|---|
1 | require File.dirname(__FILE__) + '/../../../../../../spec_helper' |
2 | include OpenEHR::AM::Archetype::ConstraintModel::Primitive |
3 | |
4 | describe CReal do |
5 | before(:each) do |
6 | @c_real = CReal.new(:default_value => 1.5, |
7 | :assumed_value => 2.3, |
8 | :list => [-1.5,20.3]) |
9 | end |
10 | |
11 | it 'should be an instance of CReal' do |
12 | @c_real.should be_an_instance_of CReal |
13 | end |
14 | end |
Note:
See TracBrowser
for help on using the repository browser.