spec/stomper/scopes/transaction_scope_spec.rb in stomper-2.0.0 vs spec/stomper/scopes/transaction_scope_spec.rb in stomper-2.0.1

- old
+ new

@@ -5,10 +5,10 @@ describe TransactionScope do before(:each) do @connection = mock("connection", :is_a? => true, :version => '1.1') @headers = { :transaction => 'tx-1234' } @connection.stub!(:subscription_manager).and_return(mock('subscription manager', { - :subscribed_id? => true + :remove => ['no-real-destination'] })) @scope = TransactionScope.new(@connection, @headers) @connection.should_receive(:transmit).at_most(:once).with(stomper_frame_with_headers(@headers, 'BEGIN')) end