Sha256: f9d16e8d625b30d2255a2a2121727e754efe052ee0993a3f16fbac2d0fc2e50c

Contents?: true

Size: 590 Bytes

Versions: 26

Compression:

Stored size: 590 Bytes

Contents

require File.dirname(__FILE__) + '/../../../../../spec_helper'
include OpenEHR::RM::DataTypes::URI

describe DvEhrUri do
  before(:each) do
    @dv_ehr_uri = DvEhrUri.new(:value => 'ehr://test/87284370-2D4B-4e3d-A3F3-F303D2F4F34B@2005-08-02T04:30:00')
  end

  it 'should be an instance of EhrUri' do
    @dv_ehr_uri.should be_an_instance_of DvEhrUri
  end

  it 's value should be valid' do
    @dv_ehr_uri.value.should == 
      'ehr://test/87284370-2D4B-4e3d-A3F3-F303D2F4F34B@2005-08-02T04:30:00'
  end

  it 's scheme should be ehr' do
    @dv_ehr_uri.scheme.should == 'ehr'
  end
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
openehr-1.2.8 spec/lib/openehr/rm/data_types/uri/dv_ehr_uri_spec.rb
openehr-1.2.7 spec/lib/openehr/rm/data_types/uri/dv_ehr_uri_spec.rb
openehr-1.2.6 spec/lib/openehr/rm/data_types/uri/dv_ehr_uri_spec.rb
openehr-1.2.5 spec/lib/openehr/rm/data_types/uri/dv_ehr_uri_spec.rb
openehr-1.2.4 spec/lib/openehr/rm/data_types/uri/dv_ehr_uri_spec.rb
openehr-1.2.3 spec/lib/openehr/rm/data_types/uri/dv_ehr_uri_spec.rb
openehr-1.2.2 spec/lib/openehr/rm/data_types/uri/dv_ehr_uri_spec.rb
openehr-1.2.1 spec/lib/openehr/rm/data_types/uri/dv_ehr_uri_spec.rb
openehr-1.2.0 spec/lib/openehr/rm/data_types/uri/dv_ehr_uri_spec.rb
openehr-1.1.6 spec/lib/openehr/rm/data_types/uri/dv_ehr_uri_spec.rb
openehr-1.1.5 spec/lib/openehr/rm/data_types/uri/dv_ehr_uri_spec.rb
openehr-1.1.4 spec/lib/openehr/rm/data_types/uri/dv_ehr_uri_spec.rb
openehr-1.1.3 spec/lib/openehr/rm/data_types/uri/dv_ehr_uri_spec.rb
openehr-1.1.2 spec/lib/openehr/rm/data_types/uri/dv_ehr_uri_spec.rb
openehr-1.1.1 spec/lib/openehr/rm/data_types/uri/dv_ehr_uri_spec.rb
openehr-1.1.0 spec/lib/openehr/rm/data_types/uri/dv_ehr_uri_spec.rb
open_ehr-1.0.2 spec/lib/open_ehr/rm/data_types/uri/dv_ehr_uri_spec.rb
open_ehr-1.0.1 spec/lib/open_ehr/rm/data_types/uri/dv_ehr_uri_spec.rb
open_ehr-1.0.0 spec/lib/open_ehr/rm/data_types/uri/dv_ehr_uri_spec.rb
open_ehr-0.9.5 spec/lib/open_ehr/rm/data_types/uri/dv_ehr_uri_spec.rb