Sha256: e5278699c179df8acdfc8df773a7a9b78955b67d39bb907281ccee426bf67496
Contents?: true
Size: 533 Bytes
Versions: 1
Compression:
Stored size: 533 Bytes
Contents
require 'spec_helper' require 'routemaster/client/subscription' describe Routemaster::Client::Subscription do describe '#initialize' do let(:options) {{ 'subscriber' => 'alice', 'uuid' => 'sub-one--12345', 'callback' => 'https://example.com/events', 'max_events' => 100, 'timeout' => 500, 'topics' => %w[widgets], 'events' => {}, }} subject { described_class.new(options) } it 'passes' do expect { subject }.not_to raise_error end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
routemaster-client-3.2.3 | spec/client/subscription_spec.rb |