Sha256: 15c60a6ae91868974f18a163c85b91c20448c785ec69f36af770359d5c4940ee

Contents?: true

Size: 644 Bytes

Versions: 10

Compression:

Stored size: 644 Bytes

Contents

require 'spec_helper'
require 'conceptql/nodes/cpt'

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

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

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

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

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

Version data entries

10 entries across 10 versions & 1 rubygems

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