Sha256: 3577bea91259a8b959a957b25a4ff8cc620dfff4f6c3260b7fb4764256cfdd7a

Contents?: true

Size: 369 Bytes

Versions: 1

Compression:

Stored size: 369 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Chain::DSL, '#chain' do
  subject { object.chain(other) }

  let(:object)    { described_class.new(env, chain) }
  let(:env)       { Spec::FAKE_ENV }
  let(:chain)     { Chain::EMPTY }
  let(:other)     { [ processor ] }
  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/chain_spec.rb