Sha256: 9d1135e8fdf03f1a5eb61ea462ed96967d807f177dbd7120097a8678aa8eba08
Contents?: true
Size: 729 Bytes
Versions: 53
Compression:
Stored size: 729 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe RubyRabbitmqJanus::Janus::Responses::Response, type: :responses, name: :response do let(:type) { 'base::info' } let(:message) do @gateway.start_transaction do |transaction| @response = transaction.publish_message(type) end end describe '#to_json' do let(:response) { @response.to_json } include_examples 'response is', String end describe '#to_hash' do let(:response) { @response.to_hash } include_examples 'response is', Hash end describe '#to_nice_json' do let(:response) { @response.to_nice_json } include_examples 'response is', String end end
Version data entries
53 entries across 53 versions & 1 rubygems