Sha256: 1fb31271a2e13199a80196639c682c6c0477a7d024debf35325824e4db85c1e8

Contents?: true

Size: 335 Bytes

Versions: 3

Compression:

Stored size: 335 Bytes

Contents

require 'spec_helper'

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

  let(:klass) { Class.new { include Audumbla::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