Sha256: 5bf27e47131d2c464dcdd8617036fa74daff097d754a9dcb92d63cce1d736f01

Contents?: true

Size: 510 Bytes

Versions: 12

Compression:

Stored size: 510 Bytes

Contents

require "spec_helper"

describe Alephant::Publisher::Request do
  let (:processor) { instance_double(Alephant::Publisher::Request::Processor, :consume => nil) }
  let (:data_mapper_factory) { instance_double(Alephant::Publisher::Request::DataMapperFactory, :create => nil) }

  describe ".create" do
    context "Using valid params" do
      let (:expected) { Alephant::Publisher::Request::Request }

      specify { expect(subject.create(processor, data_mapper_factory)).to be_a expected }
    end
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
alephant-publisher-request-0.3.0 spec/request_spec.rb
alephant-publisher-request-0.2.6 spec/request_spec.rb
alephant-publisher-request-0.2.5 spec/request_spec.rb
alephant-publisher-request-0.2.4 spec/request_spec.rb
alephant-publisher-request-0.2.3 spec/request_spec.rb
alephant-publisher-request-0.2.2 spec/request_spec.rb
alephant-publisher-request-0.2.1 spec/request_spec.rb
alephant-publisher-request-0.2.0 spec/request_spec.rb
alephant-publisher-request-0.1.2 spec/request_spec.rb
alephant-publisher-request-0.1.1 spec/request_spec.rb
alephant-publisher-request-0.0.3 spec/request_spec.rb
alephant-publisher-request-0.0.2 spec/request_spec.rb