Sha256: 50fe7ddf6341c3cf4259bde270047184e632d28afdb745ba9a7adc6d2475f5a4

Contents?: true

Size: 512 Bytes

Versions: 16

Compression:

Stored size: 512 Bytes

Contents

require 'spec_helper'

describe DispatchRider::Registrars::SnsChannel do
  describe "#value" do
    let(:account) { "123456789012" }
    let(:region) { "us-west-2" }
    let(:topic_name) { "GeneralTopic" }
    let(:channel_options) { { account: account, region: region, topic: topic_name } }

    it "returns the value for the key/value pair while registering an amazon sns channel" do
      expect(subject.value(:foo, channel_options)).to eq("arn:aws:sns:us-west-2:123456789012:GeneralTopic")
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
dispatch-rider-2.1.0 spec/lib/dispatch-rider/registrars/sns_channel_spec.rb
dispatch-rider-2.0.0 spec/lib/dispatch-rider/registrars/sns_channel_spec.rb
dispatch-rider-1.9.0 spec/lib/dispatch-rider/registrars/sns_channel_spec.rb
dispatch-rider-1.8.6 spec/lib/dispatch-rider/registrars/sns_channel_spec.rb
dispatch-rider-1.8.5 spec/lib/dispatch-rider/registrars/sns_channel_spec.rb
dispatch-rider-1.8.4 spec/lib/dispatch-rider/registrars/sns_channel_spec.rb
dispatch-rider-1.8.3 spec/lib/dispatch-rider/registrars/sns_channel_spec.rb
dispatch-rider-1.8.2 spec/lib/dispatch-rider/registrars/sns_channel_spec.rb
dispatch-rider-1.8.1 spec/lib/dispatch-rider/registrars/sns_channel_spec.rb
dispatch-rider-1.8.0 spec/lib/dispatch-rider/registrars/sns_channel_spec.rb
dispatch-rider-1.7.2 spec/lib/dispatch-rider/registrars/sns_channel_spec.rb
dispatch-rider-1.7.1 spec/lib/dispatch-rider/registrars/sns_channel_spec.rb
dispatch-rider-1.7.0 spec/lib/dispatch-rider/registrars/sns_channel_spec.rb
dispatch-rider-1.6.2 spec/lib/dispatch-rider/registrars/sns_channel_spec.rb
dispatch-rider-1.6.1 spec/lib/dispatch-rider/registrars/sns_channel_spec.rb
dispatch-rider-1.6.0 spec/lib/dispatch-rider/registrars/sns_channel_spec.rb