Sha256: af160b2dd38d793beceb26c2303f6daf5fac2a712da278a123424aa363a1599d
Contents?: true
Size: 632 Bytes
Versions: 4
Compression:
Stored size: 632 Bytes
Contents
require File.expand_path('../../test_helper', __FILE__) module Propono class SnsTest < Minitest::Test class SnsTestClass include Sns end def setup super Propono.config.access_key = "test-access-key" Propono.config.secret_key = "test-secret-key" Propono.config.queue_region = "test-queue-region" end def test_sns Fog::AWS::SNS.expects(:new) .with(:aws_access_key_id => 'test-access-key', :aws_secret_access_key => 'test-secret-key', :region => 'test-queue-region') SnsTestClass.new.send :sns end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
propono-1.7.0 | test/components/sns_test.rb |
propono-1.6.0 | test/components/sns_test.rb |
propono-1.5.0 | test/components/sns_test.rb |
propono-1.4.0 | test/components/sns_test.rb |