Sha256: 4b96cf6d8aad249bfca92b7a08a7ec1246f464278d62842b931e7e9ea653fb02

Contents?: true

Size: 494 Bytes

Versions: 3

Compression:

Stored size: 494 Bytes

Contents

# ticket 196
require File.dirname(__FILE__) + '/../../../../../../spec_helper'
require 'open_ehr/am/openehr_profile/data_types/basic'
include ::OpenEHR::AM::OpenEHRProfile::DataTypes::Basic

describe TerminalState do
  before(:all) do
    @terminal_state = TerminalState.new(:name => 'PROPOSED')
  end

  it 'is an instance of TerminalState' do
    @terminal_state.should be_an_instance_of TerminalState
  end

  it 'name is PROPOSED' do
    @terminal_state.name.should == 'PROPOSED'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
open_ehr-1.0.2 spec/lib/open_ehr/am/openehr_profile/data_types/basic/terminal_state_spec.rb
open_ehr-1.0.1 spec/lib/open_ehr/am/openehr_profile/data_types/basic/terminal_state_spec.rb
open_ehr-1.0.0 spec/lib/open_ehr/am/openehr_profile/data_types/basic/terminal_state_spec.rb