source: ruby/trunk/spec/lib/open_ehr/am/archetype/constraint_model/primitive/c_real_spec.rb@ 396

Last change on this file since 396 was 396, checked in by KOBAYASHI, Shinji, 14 years ago

refs #71, #71

File size: 416 bytes
Line 
1require File.dirname(__FILE__) + '/../../../../../../spec_helper'
2include OpenEHR::AM::Archetype::ConstraintModel::Primitive
3
4describe 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
14end
Note: See TracBrowser for help on using the repository browser.