Sha256: 048d7645c2bd70dc1161b0be70f52849f43c9b042cab76723378ad11b8fc180b

Contents?: true

Size: 739 Bytes

Versions: 10

Compression:

Stored size: 739 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe RubyRabbitmqJanus::RRJAdmin, type: :request,
                                      level: :admin,
                                      name: :stop_pcap do
  before { helper_janus_instance_without_token }

  let(:type) { 'admin::stop_pcap' }
  let(:number) { '1' }
  let(:schema_success) { 'base::success' }
  let(:parameter) { {} }

  describe 'request #stop_pcap' do
    context 'when no session/handle' do
      let(:exception_class) { RubyRabbitmqJanus::Errors::Janus::Responses::InvalidRequestPath }
      let(:exception_message) { "[457] Reason : Unhandled request 'stop_pcap' at this path" }

      include_examples 'when transaction admin exception'
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ruby_rabbitmq_janus-4.0.1 spec/ruby_rabbitmq_janus/rrj_admin_stop_pcap_spec.rb
ruby_rabbitmq_janus-4.0.1.pre.1265973744 spec/ruby_rabbitmq_janus/rrj_admin_stop_pcap_spec.rb
ruby_rabbitmq_janus-4.0.1.pre.1265506307 spec/ruby_rabbitmq_janus/rrj_admin_stop_pcap_spec.rb
ruby_rabbitmq_janus-4.0.1.pre.1265140558 spec/ruby_rabbitmq_janus/rrj_admin_stop_pcap_spec.rb
ruby_rabbitmq_janus-4.0.0 spec/ruby_rabbitmq_janus/rrj_admin_stop_pcap_spec.rb
ruby_rabbitmq_janus-4.0.0.pre.1001345090 spec/ruby_rabbitmq_janus/rrj_admin_stop_pcap_spec.rb
ruby_rabbitmq_janus-4.0.0.pre.1001181479 spec/ruby_rabbitmq_janus/rrj_admin_stop_pcap_spec.rb
ruby_rabbitmq_janus-4.0.0.pre.1001132533 spec/ruby_rabbitmq_janus/rrj_admin_stop_pcap_spec.rb
ruby_rabbitmq_janus-4.0.0.pre.1001107243 spec/ruby_rabbitmq_janus/rrj_admin_stop_pcap_spec.rb
ruby_rabbitmq_janus-4.0.0.pre.1001043172 spec/ruby_rabbitmq_janus/rrj_admin_stop_pcap_spec.rb