Sha256: 8a1962008c1ff24a7b4e5ce6c8fbc2800e347e792509dce2d572747ec84e1e65

Contents?: true

Size: 407 Bytes

Versions: 7

Compression:

Stored size: 407 Bytes

Contents

require 'spec_helper'
module Queuel
  module SQS
    describe Engine do
      it_should_behave_like "an engine"

      describe "getting SQS client" do
        its(:client_klass) { should == ::AWS::SQS }

        describe "undefined" do
          before do
            subject.stub defined?: false
          end

          its(:client_klass) { should == ::AWS::SQS }
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
queuel-0.4.4 spec/lib/queuel/sqs/engine_spec.rb
queuel-0.4.3 spec/lib/queuel/sqs/engine_spec.rb
queuel-0.4.2 spec/lib/queuel/sqs/engine_spec.rb
queuel-0.4.1 spec/lib/queuel/sqs/engine_spec.rb
queuel-0.4.0 spec/lib/queuel/sqs/engine_spec.rb
queuel-0.3.1 spec/lib/queuel/sqs/engine_spec.rb
queuel-0.3.0 spec/lib/queuel/sqs/engine_spec.rb