Sha256: a5caf73efec9bb068ec5c4d494738865bf6e752f74eb7b7dea47946b11ba3c4f

Contents?: true

Size: 636 Bytes

Versions: 10

Compression:

Stored size: 636 Bytes

Contents

require 'spec_helper'
require 'conceptql/nodes/loinc'

describe ConceptQL::Nodes::Loinc do
  it 'behaves itself' do
    ConceptQL::Nodes::Loinc.new.must_behave_like(:standard_vocabulary_node)
  end

  subject do
    ConceptQL::Nodes::Loinc.new
  end

  describe '#table' do
    it 'should be observation' do
      subject.table.must_equal :observation
    end
  end

  describe '#concept_column' do
    it 'should be procedure_concept_id' do
      subject.concept_column.must_equal :observation_concept_id
    end
  end

  describe '#vocabulary_id' do
    it 'should be 6' do
      subject.vocabulary_id.must_equal 6
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
conceptql-0.1.1 spec/conceptql/nodes/loinc_spec.rb
conceptql-0.1.0 spec/conceptql/nodes/loinc_spec.rb
conceptql-0.0.9 spec/conceptql/nodes/loinc_spec.rb
conceptql-0.0.8 spec/conceptql/nodes/loinc_spec.rb
conceptql-0.0.7 spec/conceptql/nodes/loinc_spec.rb
conceptql-0.0.6 spec/conceptql/nodes/loinc_spec.rb
conceptql-0.0.5 spec/conceptql/nodes/loinc_spec.rb
conceptql-0.0.4 spec/conceptql/nodes/loinc_spec.rb
conceptql-0.0.3 spec/conceptql/nodes/loinc_spec.rb
conceptql-0.0.1 spec/conceptql/nodes/loinc_spec.rb