Sha256: b59df814502ad59716972990460be1cb15dfe8a0502602e9fb2be64aab3fd487

Contents?: true

Size: 606 Bytes

Versions: 1

Compression:

Stored size: 606 Bytes

Contents

require 'spec_helper'
require 'conceptql/operators/hcpcs'

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

  subject do
    described_class.new
  end

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

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