spec/integration/stomp/stomp_adapter_spec.rb in message-driver-0.6.1 vs spec/integration/stomp/stomp_adapter_spec.rb in message-driver-0.7.0
- old
+ new
@@ -3,11 +3,10 @@
require 'message_driver/adapters/stomp_adapter'
module MessageDriver
module Adapters
RSpec.describe StompAdapter, :stomp, type: :integration do
-
let(:valid_connection_attrs) { BrokerConfig.config }
describe '#initialize' do
let(:connection_attrs) { valid_connection_attrs }
let(:broker) { double('broker') }
@@ -111,10 +110,9 @@
it_behaves_like 'transactions are not supported'
it_behaves_like 'client acks are not supported'
it_behaves_like 'subscriptions are not supported'
describe '#create_destination' do
-
context 'the resulting destination' do
let(:dest_name) { '/queue/stomp_destination_spec' }
subject(:destination) { adapter_context.create_destination(dest_name) }
it { is_expected.to be_a StompAdapter::Destination }