Sha256: 066266fa8941b06efe540a3e08ff2bb09b4416c1fd36d11e7ea64af3f4acc1fa
Contents?: true
Size: 1.07 KB
Versions: 45
Compression:
Stored size: 1.07 KB
Contents
# frozen_string_literal: true require 'spec_helper' describe RubyRabbitmqJanus::Janus::Responses::Admin, type: :responses, level: :admin, broken: true, name: :admin do let(:message) do @gateway.start_transaction_admin do |transaction| @response = transaction.publish_message(type) end end describe '#sessions' do let(:type) { 'admin::sessions' } let(:response) { @response.sessions } include_examples 'response is', Array end describe '#handles' do let(:type) { 'admin::handles' } let(:response) { @response.handles } include_examples 'response is', Array end describe '#info' do before do @gateway.start_transaction do |transaction| @response = transaction.publish_message('base::attach') end end let(:type) { 'admin::handle_info' } let(:response) { @response.info } include_examples 'admin response with sender is', Hash end end
Version data entries
45 entries across 45 versions & 1 rubygems