Sha256: 2128ee697be01d7fad82548c864570b2578e9abdadce475d7b1e4ead46874499
Contents?: true
Size: 840 Bytes
Versions: 56
Compression:
Stored size: 840 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe 'RubyRabbitmqJanus::RRJAdmin -- set_locking_debug', type: :request, level: :admin, name: :set_locking_debug do before do help_admin_prepare help_admin_request_tested(parameters) end let(:instance) { { 'instance' => RubyRabbitmqJanus::Models::JanusInstance.find('1').id.to_s } } let(:type) { 'admin::set_locking_debug' } let(:parameters) { { 'debug' => debug } } context 'when debug is true' do let(:debug) { true } it { expect(@transaction.to_json).to match_json_schema(type) } end context 'when debug is false' do let(:debug) { false } it { expect(@transaction.to_json).to match_json_schema(type) } end end
Version data entries
56 entries across 56 versions & 1 rubygems