Sha256: 5f6b3f6a497e0f690df0051c51b8963f400874dfca4a4f5d44065f618765265a

Contents?: true

Size: 728 Bytes

Versions: 51

Compression:

Stored size: 728 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe 'RubyRabbitmqJanus::RRJAdmin -- handle_info', type: :request,
                                                       level: :admin,
                                                       broken: true,
                                                       name: :handle_info do
  before do
    help_admin_prepare
    help_admin_create_session
    help_admin_create_handler
    help_admin_request_tested
  end

  let(:instance) { { 'instance' => RubyRabbitmqJanus::Models::JanusInstance.find('1').id.to_s } }
  let(:type) { 'admin::handle_info' }

  it { expect(@transaction.to_json).to match_json_schema(type) }
  it { expect(@transaction.info).to be_a(Hash) }
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-3.0.0.pre.336 spec/request/admin/request_handle_info_spec.rb
ruby_rabbitmq_janus-3.0.0.pre.335 spec/request/admin/request_handle_info_spec.rb
ruby_rabbitmq_janus-3.0.0.pre.334 spec/request/admin/request_handle_info_spec.rb
ruby_rabbitmq_janus-3.0.0.pre.330 spec/request/admin/request_handle_info_spec.rb
ruby_rabbitmq_janus-3.0.0.pre.328 spec/request/admin/request_handle_info_spec.rb
ruby_rabbitmq_janus-3.0.0.pre.327 spec/request/admin/request_handle_info_spec.rb
ruby_rabbitmq_janus-2.7.2 spec/request/admin/request_handle_info_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.322 spec/request/admin/request_handle_info_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.320 spec/request/admin/request_handle_info_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.319 spec/request/admin/request_handle_info_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.318 spec/request/admin/request_handle_info_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.317 spec/request/admin/request_handle_info_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.316 spec/request/admin/request_handle_info_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.315 spec/request/admin/request_handle_info_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.314 spec/request/admin/request_handle_info_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.312 spec/request/admin/request_handle_info_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.310 spec/request/admin/request_handle_info_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.309 spec/request/admin/request_handle_info_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.308 spec/request/admin/request_handle_info_spec.rb
ruby_rabbitmq_janus-2.7.2.pre.307 spec/request/admin/request_handle_info_spec.rb