Sha256: 8f7c8d81957e61d99ae4a9bdc16a17a941b0a67f9d7d01fbfe2c96e5075289ee
Contents?: true
Size: 950 Bytes
Versions: 31
Compression:
Stored size: 950 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe RubyRabbitmqJanus::Tools::ConfigQueues, type: :tools, name: :config do let(:cfg) { RubyRabbitmqJanus::Tools::Config.instance } describe 'queues specific method' do context 'with queues_from setting' do let(:method) { cfg.queue_from } it_behaves_like 'type and default value', String, 'from-janus' end context 'with queues_to setting' do let(:method) { cfg.queue_to } it_behaves_like 'type and default value', String, 'to-janus' end context 'with queues_admin_from setting' do let(:method) { cfg.queue_admin_from } it_behaves_like 'type and default value', String, 'from-janus-admin' end context 'with queues_admin_to setting' do let(:method) { cfg.queue_admin_to } it_behaves_like 'type and default value', String, 'to-janus-admin' end end end
Version data entries
31 entries across 31 versions & 1 rubygems