Sha256: 4277a538a254692527605c6e36cd4437ec17cd44e9a5247047940b0756fd5adf

Contents?: true

Size: 333 Bytes

Versions: 1

Compression:

Stored size: 333 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

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

  let(:object)    { described_class.new(env, chain) }
  let(:env)       { Spec::FAKE_ENV }
  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.10.beta2 spec/unit/substation/chain/dsl/use_spec.rb