Sha256: 7d3bde221fd481bbff09143bf17d12ca814594fdcd3f60f0d619f5c3160a912d
Contents?: true
Size: 901 Bytes
Versions: 26
Compression:
Stored size: 901 Bytes
Contents
require File.dirname(__FILE__) + '/../../../../../spec_helper' include OpenEHR::AM::Archetype::ConstraintModel include OpenEHR::AssumedLibraryTypes describe CDomainType do before(:each) do occurrences = Interval.new(:lower => 0, :upper => 1) parent = stub(CAttribute, :rm_attribute_name => 'DV_DATE') @c_domain_type = CDomainType.new(:path => '/event/[at0001]/', :rm_type_name => 'DV_TIME', :node_id => 'ac0001', :occurrences => occurrences) end it 'should be an instance of CDomainType' do @c_domain_type.should be_an_instance_of CDomainType end it 'standard_equivalent should raise NotImplementedError' do lambda { @c_domain_type.standard_equivalent }.should raise_error NotImplementedError end end
Version data entries
26 entries across 26 versions & 2 rubygems