Sha256: 2ea7772b5c3b3fa2d90ca418ae1ff38b6036686fd4f1796d77ac5db3e032513b

Contents?: true

Size: 678 Bytes

Versions: 5

Compression:

Stored size: 678 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

# Dont configured in Janus Instance so return automatically an error
describe 'RubyRabbitmqJanus::RRJAdmin -- stop_pcap', type: :request,
                                                     level: :admin,
                                                     name: :stop_pcap 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::stop_pcap' }

  it { expect(@transaction.to_json).to match_json_schema('base::error') }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-2.5.1.pre.217 spec/request/admin/request_stop_pcap_spec.rb
ruby_rabbitmq_janus-2.5.1 spec/request/admin/request_stop_pcap_spec.rb
ruby_rabbitmq_janus-2.5.1.pre.215 spec/request/admin/request_stop_pcap_spec.rb
ruby_rabbitmq_janus-2.5.0 spec/request/admin/request_stop_pcap_spec.rb
ruby_rabbitmq_janus-2.5.0.pre.213 spec/request/admin/request_stop_pcap_spec.rb