Sha256: 7f648f56e4419ab720c5c415e106e1ca9b6aa285feffb858d8488a60a1e804b0
Contents?: true
Size: 587 Bytes
Versions: 31
Compression:
Stored size: 587 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe RubyRabbitmqJanus::Janus::Responses::Admin, type: :responses, name: :admin do let(:response) { described_class.new(message) } describe '#info' do context 'with no info' do let(:message) { {} } it { expect { response.info }.to raise_error(RubyRabbitmqJanus::Errors::Janus::Responses::Admin::Info) } end context 'with info' do let(:message) { { 'info' => {} } } it { expect(response.info).to be_kind_of(Hash) } end end end
Version data entries
31 entries across 31 versions & 1 rubygems