Sha256: 108aca0132415a1631d9acbcdadc9c2c360bf024368b288ecbef0c187b0a8462

Contents?: true

Size: 608 Bytes

Versions: 1

Compression:

Stored size: 608 Bytes

Contents

require 'spec_helper'
require 'conceptql/operators/snomed'

describe ConceptQL::Operators::Snomed do
  it_behaves_like(:standard_vocabulary_operator)

  subject do
    described_class.new
  end

  describe '#table' do
    it 'should be condition_occurrence' do
      expect(subject.table).to eq(:condition_occurrence)
    end
  end

  describe '#concept_column' do
    it 'should be condition_concept_id' do
      expect(subject.concept_column).to eq(:condition_concept_id)
    end
  end

  describe '#vocabulary_id' do
    it 'should be 1' do
      expect(subject.vocabulary_id).to eq(1)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
conceptql-0.2.0 spec/conceptql/operators/snomed_spec.rb