Sha256: 7728ca14b768cfe528dc1660e753c7b4de0c6ad36039915a5ad40da725ded55c
Contents?: true
Size: 592 Bytes
Versions: 51
Compression:
Stored size: 592 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe RubyRabbitmqJanus::Tools::Cluster, type: :tools, name: :cluster do let(:cluster) { described_class.instance } let(:model) { RubyRabbitmqJanus::Models::JanusInstance } let(:number_of_instance) { Random.new.rand(100) } let(:name_queue) { "to-janus-#{number_of_instance}" } let(:name_queue_admin) { "to-janus-admin-#{number_of_instance}" } it do expect(cluster.queue_to(number_of_instance)).to eql(name_queue) end it do expect(cluster.queue_admin_to(number_of_instance)).to eql(name_queue_admin) end end
Version data entries
51 entries across 51 versions & 1 rubygems