Sha256: 5e4739d39fd088238c0064f0da027f8f101c4214c9c5c3d9032c45a9063494ec

Contents?: true

Size: 413 Bytes

Versions: 1

Compression:

Stored size: 413 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe DispatchRider::Registrars::PublishingDestination do
  describe "#value" do
    it "returns an object which has information about a notification service and a channel" do
      result = subject.value('foo', :service => :aws_sns, :channel => :bar)
      expect(result.service).to eq(:aws_sns)
      expect(result.channel).to eq(:bar)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dispatch-rider-2.2.0 spec/lib/dispatch-rider/registrars/publishing_destination_spec.rb