Sha256: e60c0d9736a466ce0e169559317b406a26b17c3625ba5ea9bf6b11722bf30471

Contents?: true

Size: 374 Bytes

Versions: 5

Compression:

Stored size: 374 Bytes

Contents

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)
      result.service.should eq(:aws_sns)
      result.channel.should eq(:bar)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dispatch-rider-1.5.3 spec/lib/dispatch-rider/registrars/publishing_destination_spec.rb
dispatch-rider-1.5.2 spec/lib/dispatch-rider/registrars/publishing_destination_spec.rb
dispatch-rider-1.5.1 spec/lib/dispatch-rider/registrars/publishing_destination_spec.rb
dispatch-rider-1.5.0 spec/lib/dispatch-rider/registrars/publishing_destination_spec.rb
dispatch-rider-1.4.2 spec/lib/dispatch-rider/registrars/publishing_destination_spec.rb