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