Sha256: cf14c42fbf22852d5bbbb54be46f0f4f6085bfaf7a3ecccf1adb4d78bae99b5c

Contents?: true

Size: 291 Bytes

Versions: 1

Compression:

Stored size: 291 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Chain::DSL, '#use' do
  subject { object.use(processor) }

  let(:object)    { described_class.new(chain) }
  let(:chain)     { Chain::EMPTY }
  let(:processor) { Spec::FAKE_PROCESSOR }

  its(:processors) { should include(processor) }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
substation-0.0.8 spec/unit/substation/chain/dsl/use_spec.rb