Sha256: 59aff94fbf2b0eb46b732b8eac527f4ef56cc29aa9d725e6489e099cbc61db0f
Contents?: true
Size: 988 Bytes
Versions: 16
Compression:
Stored size: 988 Bytes
Contents
# ticket 174 require File.dirname(__FILE__) + '/../../../spec_helper' require File.dirname(__FILE__) + '/parser_spec_helper' require 'openehr/am/openehr_profile/data_types/quantity' include ::OpenEHR::AM::OpenEHRProfile::DataTypes::Quantity require 'openehr/rm/data_types/quantity' include ::OpenEHR::RM::DataTypes::Quantity describe 'CDvQuantity empty' do before(:all) do archetype = adl14_archetype('adl-test-entry.c_dv_quantity_empty.test.adl') @c_dv_quantity = archetype.definition.attributes[0].children[0].attributes[0].children[0].attributes[0].children[0] end it 'is an instance of CDvQuantity' do @c_dv_quantity.should be_an_instance_of CDvQuantity end it 'list is nil' do @c_dv_quantity.list.should be_nil end it 'property is nil' do @c_dv_quantity.property.should be_nil end it 'assumed value is nil' do @c_dv_quantity.assumed_value.should be_nil end it 'is any allowed' do @c_dv_quantity.should be_any_allowed end end
Version data entries
16 entries across 16 versions & 1 rubygems