Sha256: 44700d6f0ca88d397ce6961a3ced7deab7ac9ac1e9da07cd336e4ff3ff3c33e6
Contents?: true
Size: 416 Bytes
Versions: 2
Compression:
Stored size: 416 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Chain::DSL::Builder, '.call' do subject { described_class.call(registry) } let(:registry) { { :test => Spec::Processor } } let(:builder) { mock(:dsl => dsl) } let(:dsl) { mock } before do described_class.should_receive(:new).with(registry).and_return(builder) builder.should_receive(:dsl).and_return(dsl) end it { should be(dsl) } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
substation-0.0.9 | spec/unit/substation/chain/dsl/builder/class_methods/call_spec.rb |
substation-0.0.8 | spec/unit/substation/chain/dsl/builder/class_methods/call_spec.rb |