Sha256: 493bd41c4346789d556bc948bddc6401c693c5beab6c31037c073f443fb02e9c

Contents?: true

Size: 605 Bytes

Versions: 21

Compression:

Stored size: 605 Bytes

Contents

require File.expand_path('../../test_helper', __FILE__)

module Propono
  class SqsTest < Minitest::Test
    class SqsTestClass
      include Sqs
    end

    def setup
      Propono.config.access_key = "test-access-key"
      Propono.config.secret_key = "test-secret-key"
      Propono.config.queue_region = "us-east-1"
    end

    def test_sqs
      Fog::AWS::SQS.expects(:new)
        .with(:aws_access_key_id     => 'test-access-key',
              :aws_secret_access_key => 'test-secret-key',
              :region                => 'us-east-1')

      SqsTestClass.new.send :sqs
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
propono-1.3.0 test/components/sqs_test.rb
propono-1.2.0 test/components/sqs_test.rb
propono-1.1.3 test/components/sqs_test.rb
propono-1.1.2 test/components/sqs_test.rb
propono-1.1.1 test/components/sqs_test.rb
propono-1.1.0 test/components/sqs_test.rb
propono-1.0.0 test/components/sqs_test.rb
propono-1.0.0.rc3 test/components/sqs_test.rb
propono-1.0.0.rc2 test/components/sqs_test.rb
propono-1.0.0.rc1 test/components/sqs_test.rb
propono-0.11.1 test/components/sqs_test.rb
propono-0.11.0 test/components/sqs_test.rb
propono-0.10.0 test/components/sqs_test.rb
propono-0.9.1 test/components/sqs_test.rb
propono-0.9.0 test/components/sqs_test.rb
propono-0.8.2 test/components/sqs_test.rb
propono-0.8.0 test/components/sqs_test.rb
propono-0.7.0 test/components/sqs_test.rb
propono-0.6.3 test/components/sqs_test.rb
propono-0.6.1 test/components/sqs_test.rb