Sha256: 92f7f6a2db5c700d01b8e9cbef01094f2995fd845c816fec5f2e5411007af22f
Contents?: true
Size: 1.15 KB
Versions: 19
Compression:
Stored size: 1.15 KB
Contents
# frozen_string_literal: true require 'spec_helper' describe RubyRabbitmqJanus::RRJ, type: :request, level: :peer, broken: true, name: :trickles do before do helper_janus_instance_without_token helper_janus_instance_create_handle end let(:type) { 'peer::trickles' } let(:number) { '1' } shared_context 'when success' do let(:candidate) { { 'sdpMid' => '..', 'sdpMLineIndex' => 1, 'candidate' => '..' } } let(:candidates) { [candidate] * 3 } let(:parameter) { { 'candidates' => candidates } } end describe 'request #trickles' do context 'when queue is exclusive' do context 'with parameter is correct' do let(:schema_success) { type } include_context 'when success' include_examples 'when transaction exclusive success' end end context 'when queue is not exclusive' do context 'with parameter is correct' do let(:schema_success) { type } include_context 'when success' # include_examples 'when transaction not exclusive success' end end end end
Version data entries
19 entries across 19 versions & 1 rubygems