Sha256: 83e131803e793244caa3779665d66c9bc89a5055a396d6b0c587f7151a2adb09

Contents?: true

Size: 331 Bytes

Versions: 3

Compression:

Stored size: 331 Bytes

Contents

require 'spec_helper'

describe Krikri::Enrichment do
  subject { klass.new }

  let(:klass) { Class.new { include Krikri::Enrichment } }

  it_behaves_like 'a generic enrichment'

  describe '#enrich_value' do
    it 'is abstract' do
      expect { subject.enrich_value(nil) }.to raise_error NotImplementedError
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
audumbla-0.2.1 spec/lib/audumbla/enrichment_spec.rb~
audumbla-0.2.0 spec/lib/audumbla/enrichment_spec.rb~
audumbla-0.1.0 spec/lib/audumbla/enrichment_spec.rb~