Sha256: 48d2dc6ef3234ed3bbb3d80e0a4be82b14bda29f735c15dbdb66029f8c8a4b80
Contents?: true
Size: 732 Bytes
Versions: 51
Compression:
Stored size: 732 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe RubyRabbitmqJanus::Rabbit::Propertie, type: :rabbit, name: :propertie do let(:rabbit) { described_class.new } describe '#options' do it { expect(rabbit.options).to match_json_schema(:rabbit_options) } end describe '#options_admin', broken: true do context 'when admin request' do it do expect(rabbit.options_admin('admin::sessions')).to \ match_json_schema(:rabbit_options_admin) end end context 'when base request' do it do expect(rabbit.options_admin('request::create')).to \ match_json_schema(:rabbit_options) end end end end
Version data entries
51 entries across 51 versions & 1 rubygems