<testsuite name="rspec2" tests="536" skipped="1" failures="16" errors="0" time="68.474798" timestamp="2022-10-31T18:59:11+00:00" hostname="fv-az71-408">
<properties>
<property name="seed" value="26201"/>
</properties>
<testcase classname="spec.unit.modules.async_wrapper_spec" name="Ably::Modules::AsyncWrapper#async_wrap blocking block raises an Exception does not call the provided block" file="./spec/unit/modules/async_wrapper_spec.rb" time="0.211573"></testcase>
<testcase classname="spec.unit.modules.async_wrapper_spec" name="Ably::Modules::AsyncWrapper#async_wrap blocking block raises an Exception does not call the callback block of the SafeDeferrable" file="./spec/unit/modules/async_wrapper_spec.rb" time="0.202570"></testcase>
<testcase classname="spec.unit.modules.async_wrapper_spec" name="Ably::Modules::AsyncWrapper#async_wrap blocking block raises an Exception calls the errback block of the SafeDeferrable" file="./spec/unit/modules/async_wrapper_spec.rb" time="0.105465"></testcase>
<testcase classname="spec.unit.modules.async_wrapper_spec" name="Ably::Modules::AsyncWrapper#async_wrap blocking block returns result returns a SafeDeferrable that catches and logs exceptions in the provided callbacks" file="./spec/unit/modules/async_wrapper_spec.rb" time="0.003857"></testcase>
<testcase classname="spec.unit.modules.async_wrapper_spec" name="Ably::Modules::AsyncWrapper#async_wrap blocking block returns result calls the provided block with result when provided" file="./spec/unit/modules/async_wrapper_spec.rb" time="0.103792"></testcase>
<testcase classname="spec.unit.modules.async_wrapper_spec" name="Ably::Modules::AsyncWrapper#async_wrap blocking block returns result does not call the errback" file="./spec/unit/modules/async_wrapper_spec.rb" time="0.303705"></testcase>
<testcase classname="spec.unit.modules.async_wrapper_spec" name="Ably::Modules::AsyncWrapper#async_wrap blocking block returns result catches exceptions in the provided block and logs them to logger" file="./spec/unit/modules/async_wrapper_spec.rb" time="0.104386"></testcase>
<testcase classname="spec.unit.modules.async_wrapper_spec" name="Ably::Modules::AsyncWrapper#async_wrap blocking block returns result returns a SafeDeferrable that calls the callback block" file="./spec/unit/modules/async_wrapper_spec.rb" time="0.103803"></testcase>
<testcase classname="spec.unit.modules.async_wrapper_spec" name="Ably::Modules::AsyncWrapper#async_wrap blocking block returns result does not block EventMachine" file="./spec/unit/modules/async_wrapper_spec.rb" time="0.105396"></testcase>
<testcase classname="spec.unit.models.delta_extras_spec" name="Ably::Models::DeltaExtras should have `format` attribute" file="./spec/unit/models/delta_extras_spec.rb" time="0.002706"></testcase>
<testcase classname="spec.unit.models.delta_extras_spec" name="Ably::Models::DeltaExtras should have `from` attribute" file="./spec/unit/models/delta_extras_spec.rb" time="0.001270"></testcase>
<testcase classname="spec.unit.rest.channels_spec" name="Ably::Rest::Channels [] creates a channel" file="./spec/unit/rest/channels_spec.rb" time="0.001697"></testcase>
<testcase classname="spec.unit.rest.channels_spec" name="Ably::Rest::Channels#get when an existing channel exists hash is expected to be a kind of Hash" file="./spec/unit/rest/channels_spec.rb" time="0.001310"></testcase>
<testcase classname="spec.unit.rest.channels_spec" name="Ably::Rest::Channels#get when an existing channel exists hash will reuse a channel object if it exists (RSN3a)" file="./spec/unit/rest/channels_spec.rb" time="0.001629"></testcase>
<testcase classname="spec.unit.rest.channels_spec" name="Ably::Rest::Channels#get when an existing channel exists with new channel_options modes ChannelOptions object is expected to be a kind of Ably::Models::ChannelOptions" file="./spec/unit/rest/channels_spec.rb" time="0.001160"></testcase>
<testcase classname="spec.unit.rest.channels_spec" name="Ably::Rest::Channels#get when an existing channel exists with new channel_options modes ChannelOptions object will update channel with provided options modes (RSN3c)" file="./spec/unit/rest/channels_spec.rb" time="0.001655"></testcase>
<testcase classname="spec.unit.rest.channels_spec" name="Ably::Rest::Channels#get when an existing channel exists with new channel_options modes hash is expected to be a kind of Hash" file="./spec/unit/rest/channels_spec.rb" time="0.001173"></testcase>
<testcase classname="spec.unit.rest.channels_spec" name="Ably::Rest::Channels#get when an existing channel exists with new channel_options modes hash will update channel with provided options modes (RSN3c)" file="./spec/unit/rest/channels_spec.rb" time="0.001330"></testcase>
<testcase classname="spec.unit.rest.channels_spec" name="Ably::Rest::Channels#get when an existing channel exists ChannelOptions object is expected to be a kind of Ably::Models::ChannelOptions" file="./spec/unit/rest/channels_spec.rb" time="0.001109"></testcase>
<testcase classname="spec.unit.rest.channels_spec" name="Ably::Rest::Channels#get when an existing channel exists ChannelOptions object will reuse a channel object if it exists (RSN3a)" file="./spec/unit/rest/channels_spec.rb" time="0.001162"></testcase>
<testcase classname="spec.unit.rest.channels_spec" name="Ably::Rest::Channels#get when channel doesn&apos;t exist hash creates a channel (RSN3a)" file="./spec/unit/rest/channels_spec.rb" time="0.001486"></testcase>
<testcase classname="spec.unit.rest.channels_spec" name="Ably::Rest::Channels#get when channel doesn&apos;t exist hash is expected to be a kind of Hash" file="./spec/unit/rest/channels_spec.rb" time="0.001110"></testcase>
<testcase classname="spec.unit.rest.channels_spec" name="Ably::Rest::Channels#get when channel doesn&apos;t exist ChannelOptions object is expected to be a kind of Ably::Models::ChannelOptions" file="./spec/unit/rest/channels_spec.rb" time="0.001235"></testcase>
<testcase classname="spec.unit.rest.channels_spec" name="Ably::Rest::Channels#get when channel doesn&apos;t exist ChannelOptions object creates a channel (RSN3a)" file="./spec/unit/rest/channels_spec.rb" time="0.001622"></testcase>
<testcase classname="spec.unit.rest.channels_spec" name="Ably::Rest::Channels destroying channels #release releases the channel resoures" file="./spec/unit/rest/channels_spec.rb" time="0.001220"></testcase>
<testcase classname="spec.unit.rest.channels_spec" name="Ably::Rest::Channels is Enumerable provides #length" file="./spec/unit/rest/channels_spec.rb" time="0.001507"></testcase>
<testcase classname="spec.unit.rest.channels_spec" name="Ably::Rest::Channels is Enumerable allows enumeration" file="./spec/unit/rest/channels_spec.rb" time="0.001662"></testcase>
<testcase classname="spec.unit.rest.channels_spec" name="Ably::Rest::Channels is Enumerable #each returns an enumerator" file="./spec/unit/rest/channels_spec.rb" time="0.001540"></testcase>
<testcase classname="spec.unit.rest.channels_spec" name="Ably::Rest::Channels is Enumerable #each yields each channel" file="./spec/unit/rest/channels_spec.rb" time="0.001596"></testcase>
<testcase classname="spec.unit.rest.channels_spec" name="Ably::Rest::Channels#fetch calls the block if channel is missing" file="./spec/unit/rest/channels_spec.rb" time="0.001012"></testcase>
<testcase classname="spec.unit.rest.channels_spec" name="Ably::Rest::Channels#fetch retrieves a channel if it exists" file="./spec/unit/rest/channels_spec.rb" time="0.001245"></testcase>
<testcase classname="spec.unit.realtime.push_channel_spec" name="Ably::Realtime::Channel::PushChannel exposes the channel as attribute #channel" file="./spec/unit/realtime/push_channel_spec.rb" time="0.002009"></testcase>
<testcase classname="spec.unit.realtime.push_channel_spec" name="Ably::Realtime::Channel::PushChannel raises an exception if constructed with an invalid type" file="./spec/unit/realtime/push_channel_spec.rb" time="0.005375"></testcase>
<testcase classname="spec.unit.realtime.push_channel_spec" name="Ably::Realtime::Channel::PushChannel is constructed with a channel" file="./spec/unit/realtime/push_channel_spec.rb" time="0.001472"></testcase>
<testcase classname="spec.unit.realtime.push_channel_spec" name="Ably::Realtime::Channel::PushChannel is available in the #push attribute of the channel" file="./spec/unit/realtime/push_channel_spec.rb" time="0.001363"></testcase>
<testcase classname="spec.unit.realtime.push_channel_spec" name="Ably::Realtime::Channel::PushChannel methods not implemented as push notifications #subscribe_device raises an unsupported exception" file="./spec/unit/realtime/push_channel_spec.rb" time="0.001365"></testcase>
<testcase classname="spec.unit.realtime.push_channel_spec" name="Ably::Realtime::Channel::PushChannel methods not implemented as push notifications #unsubscribe_client_id raises an unsupported exception" file="./spec/unit/realtime/push_channel_spec.rb" time="0.001290"></testcase>
<testcase classname="spec.unit.realtime.push_channel_spec" name="Ably::Realtime::Channel::PushChannel methods not implemented as push notifications #get_subscriptions raises an unsupported exception" file="./spec/unit/realtime/push_channel_spec.rb" time="0.001588"></testcase>
<testcase classname="spec.unit.realtime.push_channel_spec" name="Ably::Realtime::Channel::PushChannel methods not implemented as push notifications #unsubscribe_device raises an unsupported exception" file="./spec/unit/realtime/push_channel_spec.rb" time="0.001306"></testcase>
<testcase classname="spec.unit.realtime.push_channel_spec" name="Ably::Realtime::Channel::PushChannel methods not implemented as push notifications #subscribe_client_id raises an unsupported exception" file="./spec/unit/realtime/push_channel_spec.rb" time="0.002857"></testcase>
<testcase classname="spec.unit.rest.push_channel_spec" name="Ably::Rest::Channel::PushChannel is available in the #push attribute of the channel" file="./spec/unit/rest/push_channel_spec.rb" time="0.001191"></testcase>
<testcase classname="spec.unit.rest.push_channel_spec" name="Ably::Rest::Channel::PushChannel raises an exception if constructed with an invalid type" file="./spec/unit/rest/push_channel_spec.rb" time="0.001344"></testcase>
<testcase classname="spec.unit.rest.push_channel_spec" name="Ably::Rest::Channel::PushChannel exposes the channel as attribute #channel" file="./spec/unit/rest/push_channel_spec.rb" time="0.001347"></testcase>
<testcase classname="spec.unit.rest.push_channel_spec" name="Ably::Rest::Channel::PushChannel is constructed with a channel" file="./spec/unit/rest/push_channel_spec.rb" time="0.001743"></testcase>
<testcase classname="spec.unit.rest.push_channel_spec" name="Ably::Rest::Channel::PushChannel methods not implemented as push notifications #unsubscribe_client_id raises an unsupported exception" file="./spec/unit/rest/push_channel_spec.rb" time="0.001277"></testcase>
<testcase classname="spec.unit.rest.push_channel_spec" name="Ably::Rest::Channel::PushChannel methods not implemented as push notifications #get_subscriptions raises an unsupported exception" file="./spec/unit/rest/push_channel_spec.rb" time="0.001151"></testcase>
<testcase classname="spec.unit.rest.push_channel_spec" name="Ably::Rest::Channel::PushChannel methods not implemented as push notifications #subscribe_client_id raises an unsupported exception" file="./spec/unit/rest/push_channel_spec.rb" time="0.001063"></testcase>
<testcase classname="spec.unit.rest.push_channel_spec" name="Ably::Rest::Channel::PushChannel methods not implemented as push notifications #subscribe_device raises an unsupported exception" file="./spec/unit/rest/push_channel_spec.rb" time="0.001264"></testcase>
<testcase classname="spec.unit.rest.push_channel_spec" name="Ably::Rest::Channel::PushChannel methods not implemented as push notifications #unsubscribe_device raises an unsupported exception" file="./spec/unit/rest/push_channel_spec.rb" time="0.001149"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest attributes #capability retrieves attribute :capability as parsed JSON" file="./spec/unit/models/token_request_spec.rb" time="0.001169"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest attributes #timestamp with :timestamp option as milliseconds in constructor retrieves attribute :timestamp as Time" file="./spec/unit/models/token_request_spec.rb" time="0.001085"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest attributes #timestamp when converted to JSON is in milliseconds since epoch" file="./spec/unit/models/token_request_spec.rb" time="0.001178"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest attributes #timestamp with :timestamp option as Time in constructor retrieves attribute :timestamp as Time" file="./spec/unit/models/token_request_spec.rb" time="0.001059"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest attributes #ttl when converted to JSON is in milliseconds since epoch" file="./spec/unit/models/token_request_spec.rb" time="0.001094"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest attributes #ttl with :ttl option as milliseconds in constructor retrieves attribute :ttl as seconds" file="./spec/unit/models/token_request_spec.rb" time="0.001171"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest behaves like a model #to_json returns a JSON string with Ably payload naming" file="./spec/unit/models/token_request_spec.rb" time="0.003055"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest behaves like a model attributes #nonce retrieves attribute :nonce" file="./spec/unit/models/token_request_spec.rb" time="0.001311"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest behaves like a model attributes #mac retrieves attribute :mac" file="./spec/unit/models/token_request_spec.rb" time="0.001086"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest behaves like a model attributes #[] provides accessor method to #attributes" file="./spec/unit/models/token_request_spec.rb" time="0.000944"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest behaves like a model attributes #client_id retrieves attribute :client_id" file="./spec/unit/models/token_request_spec.rb" time="0.001150"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest behaves like a model attributes #attributes provides access to #attributes" file="./spec/unit/models/token_request_spec.rb" time="0.000923"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest behaves like a model attributes #key_name retrieves attribute :key_name" file="./spec/unit/models/token_request_spec.rb" time="0.001100"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest behaves like a model is immutable prevents changes" file="./spec/unit/models/token_request_spec.rb" time="0.001053"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest behaves like a model is immutable dups options" file="./spec/unit/models/token_request_spec.rb" time="0.003760"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest behaves like a model #== is false when attributes are not the same" file="./spec/unit/models/token_request_spec.rb" time="0.001243"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest behaves like a model #== is true when attributes are the same" file="./spec/unit/models/token_request_spec.rb" time="0.001258"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest behaves like a model #== is false when class type differs" file="./spec/unit/models/token_request_spec.rb" time="0.000866"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest behaves like a model #to_msgpack returns a msgpack object with Ably payload naming" file="./spec/unit/models/token_request_spec.rb" time="0.001183"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest TokenRequest conversion methods with a TokenRequest object returns the TokenRequest object" file="./spec/unit/models/token_request_spec.rb" time="0.001119"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest TokenRequest conversion methods with a JSON object returns a new TokenRequest object from the JSON" file="./spec/unit/models/token_request_spec.rb" time="0.001296"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest == is false when class type differs" file="./spec/unit/models/token_request_spec.rb" time="0.001491"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest == is true when attributes are the same" file="./spec/unit/models/token_request_spec.rb" time="0.001199"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest == is false when attributes are not the same" file="./spec/unit/models/token_request_spec.rb" time="0.001284"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest from_json (#TE6) with JSON-like object returns a valid TokenRequest object" file="./spec/unit/models/token_request_spec.rb" time="0.001993"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest from_json (#TE6) with Ruby idiomatic Hash object returns a valid TokenRequest object" file="./spec/unit/models/token_request_spec.rb" time="0.001343"></testcase>
<testcase classname="spec.unit.models.token_request_spec" name="Ably::Models::TokenRequest from_json (#TE6) with JSON string returns a valid TokenRequest object" file="./spec/unit/models/token_request_spec.rb" time="0.001538"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message from REST request with embedded fields with protocol message #id prefers embedded ID" file="./spec/unit/models/message_spec.rb" time="0.001217"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message from REST request with embedded fields with protocol message #timestamp prefers embedded timestamp" file="./spec/unit/models/message_spec.rb" time="0.001507"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message from REST request with embedded fields without protocol message #timestamp uses embedded timestamp" file="./spec/unit/models/message_spec.rb" time="0.001280"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message from REST request with embedded fields without protocol message #id uses embedded ID" file="./spec/unit/models/message_spec.rb" time="0.001166"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#timestamp retrieves attribute :timestamp as Time object from ProtocolMessage" file="./spec/unit/models/message_spec.rb" time="0.001212"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#protocol_message_index (#RTL21) should return correct protocol_message_index" file="./spec/unit/models/message_spec.rb" time="0.001481"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message Message conversion method with another Message without ProtocolMessage has no ProtocolMessage" file="./spec/unit/models/message_spec.rb" time="0.001145"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message Message conversion method with another Message without ProtocolMessage raises an exception when accessing ProtocolMessage" file="./spec/unit/models/message_spec.rb" time="0.001149"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message Message conversion method with another Message without ProtocolMessage returns a Message object" file="./spec/unit/models/message_spec.rb" time="0.001369"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message Message conversion method with another Message without ProtocolMessage initializes with the JSON" file="./spec/unit/models/message_spec.rb" time="0.001039"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message Message conversion method with another Message with ProtocolMessage initializes with the JSON" file="./spec/unit/models/message_spec.rb" time="0.001494"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message Message conversion method with another Message with ProtocolMessage provides access to ProtocolMessage" file="./spec/unit/models/message_spec.rb" time="0.001211"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message Message conversion method with another Message with ProtocolMessage has a ProtocolMessage" file="./spec/unit/models/message_spec.rb" time="0.001200"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message Message conversion method with another Message with ProtocolMessage returns a Message object" file="./spec/unit/models/message_spec.rb" time="0.001028"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message Message conversion method with JSON without ProtocolMessage returns a Message object" file="./spec/unit/models/message_spec.rb" time="0.001020"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message Message conversion method with JSON without ProtocolMessage has no ProtocolMessage" file="./spec/unit/models/message_spec.rb" time="0.000898"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message Message conversion method with JSON without ProtocolMessage initializes with the JSON" file="./spec/unit/models/message_spec.rb" time="0.003637"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message Message conversion method with JSON without ProtocolMessage raises an exception when accessing ProtocolMessage" file="./spec/unit/models/message_spec.rb" time="0.001303"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message Message conversion method with JSON with ProtocolMessage provides access to ProtocolMessage" file="./spec/unit/models/message_spec.rb" time="0.001194"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message Message conversion method with JSON with ProtocolMessage has a ProtocolMessage" file="./spec/unit/models/message_spec.rb" time="0.001383"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message Message conversion method with JSON with ProtocolMessage initializes with the JSON" file="./spec/unit/models/message_spec.rb" time="0.001434"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message Message conversion method with JSON with ProtocolMessage returns a Message object" file="./spec/unit/models/message_spec.rb" time="0.001311"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#from_encoded_array (#TM3) with no encoding returns an Array of message objects" file="./spec/unit/models/message_spec.rb" time="0.002122"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#from_encoded (#TM3) with a Cipher encoding returns a message object with the residual incompatible transforms left in the encoding property" file="./spec/unit/models/message_spec.rb" time="0.002549"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#from_encoded (#TM3) with no encoding returns a message object" file="./spec/unit/models/message_spec.rb" time="0.001584"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#from_encoded (#TM3) with no encoding with a block does not call the block" file="./spec/unit/models/message_spec.rb" time="0.001323"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#from_encoded (#TM3) with invalid Cipher encoding without a block raises an exception" file="./spec/unit/models/message_spec.rb" time="0.002000"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#from_encoded (#TM3) with invalid Cipher encoding with a block calls the block with the exception" file="./spec/unit/models/message_spec.rb" time="0.001643"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#from_encoded (#TM3) with a custom encoding returns a message object with the residual incompatible transforms left in the encoding property" file="./spec/unit/models/message_spec.rb" time="0.001854"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#from_encoded (#TM3) with an encoding returns a message object" file="./spec/unit/models/message_spec.rb" time="0.001946"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message serialization of the Message object (#RSL1j) behaves like a model attributes #client_id retrieves attribute :client_id" file="./spec/unit/models/message_spec.rb" time="0.001180"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message serialization of the Message object (#RSL1j) behaves like a model attributes #id retrieves attribute :id" file="./spec/unit/models/message_spec.rb" time="0.001199"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message serialization of the Message object (#RSL1j) behaves like a model attributes #encoding retrieves attribute :encoding" file="./spec/unit/models/message_spec.rb" time="0.001282"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message serialization of the Message object (#RSL1j) behaves like a model attributes #attributes provides access to #attributes" file="./spec/unit/models/message_spec.rb" time="0.001229"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message serialization of the Message object (#RSL1j) behaves like a model attributes #name retrieves attribute :name" file="./spec/unit/models/message_spec.rb" time="0.001218"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message serialization of the Message object (#RSL1j) behaves like a model attributes #data retrieves attribute :data" file="./spec/unit/models/message_spec.rb" time="0.001291"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message serialization of the Message object (#RSL1j) behaves like a model attributes #[] provides accessor method to #attributes" file="./spec/unit/models/message_spec.rb" time="0.001109"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message serialization of the Message object (#RSL1j) behaves like a model #to_msgpack returns a msgpack object with Ably payload naming" file="./spec/unit/models/message_spec.rb" time="0.001202"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message serialization of the Message object (#RSL1j) behaves like a model is immutable prevents changes" file="./spec/unit/models/message_spec.rb" time="0.001108"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message serialization of the Message object (#RSL1j) behaves like a model is immutable dups options" file="./spec/unit/models/message_spec.rb" time="0.003436"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message serialization of the Message object (#RSL1j) behaves like a model #== is true when attributes are the same" file="./spec/unit/models/message_spec.rb" time="0.001861"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message serialization of the Message object (#RSL1j) behaves like a model #== is false when attributes are not the same" file="./spec/unit/models/message_spec.rb" time="0.001319"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message serialization of the Message object (#RSL1j) behaves like a model #== is false when class type differs" file="./spec/unit/models/message_spec.rb" time="0.001285"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message serialization of the Message object (#RSL1j) behaves like a model #to_json returns a JSON string with Ably payload naming" file="./spec/unit/models/message_spec.rb" time="0.001478"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#to_json with valid data converts the attribute back to Java mixedCase notation using string keys" file="./spec/unit/models/message_spec.rb" time="0.001233"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#to_json with binary data encodes as Base64 so that it can be converted to UTF-8 automatically by JSON#dump" file="./spec/unit/models/message_spec.rb" time="0.001463"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#to_json with binary data adds Base64 encoding" file="./spec/unit/models/message_spec.rb" time="0.001415"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#id (#RSL1j) #as_json exposes the #id attribute" file="./spec/unit/models/message_spec.rb" time="0.001439"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#id (#RSL1j) exposes the #id attribute" file="./spec/unit/models/message_spec.rb" time="0.001370"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message part of ProtocolMessage should not allow changes to the payload" file="./spec/unit/models/message_spec.rb" time="0.001540"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message part of ProtocolMessage should not modify the data payload" file="./spec/unit/models/message_spec.rb" time="0.001560"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message part of ProtocolMessage should generate a message ID from the index, serial and connection id" file="./spec/unit/models/message_spec.rb" time="0.001849"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message part of ProtocolMessage with identical message objects provide a unique ID:index" file="./spec/unit/models/message_spec.rb" time="0.001596"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message part of ProtocolMessage with identical message objects recognises the index based on the object ID as opposed to message payload" file="./spec/unit/models/message_spec.rb" time="0.001715"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message Java naming converts the attribute to ruby symbol naming convention" file="./spec/unit/models/message_spec.rb" time="0.001164"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#connection_id attribute when this model has a connectionId attribute but no protocol message uses the model value" file="./spec/unit/models/message_spec.rb" time="0.001326"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#connection_id attribute when this model has a connectionId attribute with a protocol message with a different connectionId uses the model value" file="./spec/unit/models/message_spec.rb" time="0.001150"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#connection_id attribute when this model has no connectionId attribute with a protocol message with a connectionId uses the model value" file="./spec/unit/models/message_spec.rb" time="0.001219"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#connection_id attribute when this model has no connectionId attribute and no protocol message uses the model value" file="./spec/unit/models/message_spec.rb" time="0.001246"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#extras (#TM2i) when a Hash contains a Hash Json object" file="./spec/unit/models/message_spec.rb" time="0.001180"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#extras (#TM2i) when a string raises an exception" file="./spec/unit/models/message_spec.rb" time="0.001276"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#extras (#TM2i) when a Json Array contains a Json Array object" file="./spec/unit/models/message_spec.rb" time="0.001106"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#extras (#TM2i) when missing is nil" file="./spec/unit/models/message_spec.rb" time="0.001222"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#delta_extras (TM2i) when no delta should return nil" file="./spec/unit/models/message_spec.rb" time="0.003309"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#delta_extras (TM2i) when delta should return vcdiff format" file="./spec/unit/models/message_spec.rb" time="0.001481"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#delta_extras (TM2i) when delta should return 1234-1234-5678-9009 message id" file="./spec/unit/models/message_spec.rb" time="0.001271"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#size Array (#TO3l8b) should return 24 bytes" file="./spec/unit/models/message_spec.rb" time="0.001401"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#size Object (#TO3l8b) should return 38 bytes" file="./spec/unit/models/message_spec.rb" time="0.001352"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#size extras (#TO3l8d) should return 57 bytes" file="./spec/unit/models/message_spec.rb" time="0.001322"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#size String (#TO3l8a) should return 33 bytes" file="./spec/unit/models/message_spec.rb" time="0.001352"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message#size nil (#TO3l8e) should return 19 bytes" file="./spec/unit/models/message_spec.rb" time="0.001183"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :client_id as Nil is permitted" file="./spec/unit/models/message_spec.rb" time="0.001279"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :client_id as Integer raises an argument error" file="./spec/unit/models/message_spec.rb" time="0.001733"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :client_id as SHIFT_JIS string gets converted to UTF-8" file="./spec/unit/models/message_spec.rb" time="0.002760"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :client_id as SHIFT_JIS string is compatible with original encoding" file="./spec/unit/models/message_spec.rb" time="0.001237"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :client_id as UTF_8 string remains as UTF-8" file="./spec/unit/models/message_spec.rb" time="0.001619"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :client_id as UTF_8 string is permitted" file="./spec/unit/models/message_spec.rb" time="0.001231"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :client_id as ASCII_8BIT string gets converted to UTF-8" file="./spec/unit/models/message_spec.rb" time="0.001214"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :client_id as ASCII_8BIT string is compatible with original encoding" file="./spec/unit/models/message_spec.rb" time="0.001238"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :name as SHIFT_JIS string is compatible with original encoding" file="./spec/unit/models/message_spec.rb" time="0.001267"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :name as SHIFT_JIS string gets converted to UTF-8" file="./spec/unit/models/message_spec.rb" time="0.001114"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :name as Integer raises an argument error" file="./spec/unit/models/message_spec.rb" time="0.001132"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :name as Nil is permitted" file="./spec/unit/models/message_spec.rb" time="0.001304"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :name as ASCII_8BIT string is compatible with original encoding" file="./spec/unit/models/message_spec.rb" time="0.001005"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :name as ASCII_8BIT string gets converted to UTF-8" file="./spec/unit/models/message_spec.rb" time="0.001194"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :name as UTF_8 string remains as UTF-8" file="./spec/unit/models/message_spec.rb" time="0.001158"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :name as UTF_8 string is permitted" file="./spec/unit/models/message_spec.rb" time="0.001284"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :encoding as Integer raises an argument error" file="./spec/unit/models/message_spec.rb" time="0.001139"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :encoding as SHIFT_JIS string is compatible with original encoding" file="./spec/unit/models/message_spec.rb" time="0.001340"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :encoding as SHIFT_JIS string gets converted to UTF-8" file="./spec/unit/models/message_spec.rb" time="0.003277"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :encoding as UTF_8 string is permitted" file="./spec/unit/models/message_spec.rb" time="0.001485"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :encoding as UTF_8 string remains as UTF-8" file="./spec/unit/models/message_spec.rb" time="0.001324"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :encoding as Nil is permitted" file="./spec/unit/models/message_spec.rb" time="0.001266"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :encoding as ASCII_8BIT string is compatible with original encoding" file="./spec/unit/models/message_spec.rb" time="0.001342"></testcase>
<testcase classname="spec.unit.models.message_spec" name="Ably::Models::Message initialized with :encoding as ASCII_8BIT string gets converted to UTF-8" file="./spec/unit/models/message_spec.rb" time="0.001143"></testcase>
<testcase classname="spec.unit.rest.rest_spec" name="Ably::Rest constructor returns an Ably::Rest::Client" file="./spec/unit/rest/rest_spec.rb" time="0.002902"></testcase>
<testcase classname="spec.unit.logger_spec" name="Ably::Logger uses the language provided Logger by default" file="./spec/unit/logger_spec.rb" time="0.000773"></testcase>
<testcase classname="spec.unit.logger_spec" name="Ably::Logger internals delegates to the default Logger object" file="./spec/unit/logger_spec.rb" time="0.001067"></testcase>
<testcase classname="spec.unit.logger_spec" name="Ably::Logger internals formatter with REST client formats logs without a client ID" file="./spec/unit/logger_spec.rb" time="0.000849"></testcase>
<testcase classname="spec.unit.logger_spec" name="Ably::Logger internals formatter when info -&gt; fatal uses long time format" file="./spec/unit/logger_spec.rb" time="0.000608"></testcase>
<testcase classname="spec.unit.logger_spec" name="Ably::Logger internals formatter severity argument can be a string" file="./spec/unit/logger_spec.rb" time="0.000763"></testcase>
<testcase classname="spec.unit.logger_spec" name="Ably::Logger internals formatter severity argument can be an Integer" file="./spec/unit/logger_spec.rb" time="0.000638"></testcase>
<testcase classname="spec.unit.logger_spec" name="Ably::Logger internals formatter with Realtime client with Realtime disconnected client formats logs with an empty client ID" file="./spec/unit/logger_spec.rb" time="0.001597"></testcase>
<testcase classname="spec.unit.logger_spec" name="Ably::Logger internals formatter with Realtime client with Realtime connected client formats logs with a client ID" file="./spec/unit/logger_spec.rb" time="0.001444"></testcase>
<testcase classname="spec.unit.logger_spec" name="Ably::Logger internals formatter when debugging uses short time format" file="./spec/unit/logger_spec.rb" time="0.000685"></testcase>
<testcase classname="spec.unit.logger_spec" name="Ably::Logger with blocks does not call the block unless the log level is met" file="./spec/unit/logger_spec.rb" time="0.002409"></testcase>
<testcase classname="spec.unit.logger_spec" name="Ably::Logger with blocks with an exception in the logger block catches the error and continues" file="./spec/unit/logger_spec.rb" time="0.001279"></testcase>
<testcase classname="spec.unit.logger_spec" name="Ably::Logger with a custom Logger with a valid interface delegates log messages to logger" file="./spec/unit/logger_spec.rb" time="0.000821"></testcase>
<testcase classname="spec.unit.logger_spec" name="Ably::Logger with a custom Logger with a valid interface is used" file="./spec/unit/logger_spec.rb" time="0.000644"></testcase>
<testcase classname="spec.unit.logger_spec" name="Ably::Logger with a custom Logger with an invalid interface raises an exception" file="./spec/unit/logger_spec.rb" time="0.000709"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter #change_state sets current state" file="./spec/unit/modules/state_emitter_spec.rb" time="0.003298"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter #state= sets current state" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001220"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter #state returns current state" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001000"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#state STATE coercion allows valid STATE values" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001177"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#state STATE coercion prevents invalid STATE values" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001017"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_or_if with blocks that raise exceptions success block catches exceptions in the provided block, logs the error and continues" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001846"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_or_if with blocks that raise exceptions failure block catches exceptions in the provided block, logs the error and continues" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001642"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_or_if without :else option block calls the block only once" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001186"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_or_if without :else option block calls the block if in the provided state" file="./spec/unit/modules/state_emitter_spec.rb" time="0.000987"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_or_if without :else option block calls the block when the state is reached" file="./spec/unit/modules/state_emitter_spec.rb" time="0.004027"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_or_if with an array of targets does not remove all blocks on success" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001375"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_or_if with an array of targets calls the block only once" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001375"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_or_if with an array of targets calls the block if in the provided state" file="./spec/unit/modules/state_emitter_spec.rb" time="0.000947"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_or_if with an array of targets calls the block when one of the states is reached" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001119"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_or_if state change arguments are passed to success blocks" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001261"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_or_if state change arguments are passed to else blocks" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001700"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_or_if with :else option block blocks are not called if the state does not change" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001363"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_or_if with :else option block success block is never called after failure block was called" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001215"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_or_if with :else option block success block is never called again once target_state is reached" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001344"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_or_if with :else option block success block is called once target_state is reached" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001971"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_or_if with :else option block failure block is called once a state other than target_state is reached" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001011"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_or_if with :else option block failure block is never called again once the block has been called previously" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001283"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_or_if with :else option block failure block is never called after success block was called" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001504"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_or_if with :else option block failure block has arguments from the error state" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001417"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#change_state with arguments passes the arguments through to the executed callback" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001139"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#state? returns true if state matches" file="./spec/unit/modules/state_emitter_spec.rb" time="0.000830"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#state? returns false if state does not match" file="./spec/unit/modules/state_emitter_spec.rb" time="0.000916"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#state? and convenience predicates for states returns true for #initializing? if state matches" file="./spec/unit/modules/state_emitter_spec.rb" time="0.000984"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#state? and convenience predicates for states returns false for #connecting? if state does not match" file="./spec/unit/modules/state_emitter_spec.rb" time="0.000920"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_state_changed is not called if the state does not change" file="./spec/unit/modules/state_emitter_spec.rb" time="0.000939"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_state_changed calls the block for any state change once" file="./spec/unit/modules/state_emitter_spec.rb" time="0.000935"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_state_changed emits arguments to the block" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001473"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#once_state_changed catches exceptions in the provided block, logs the error and continues" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001504"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#unsafe_once_state_changed does not catch exceptions in the provided block" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001154"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#unsafe_once_or_if success block catches exceptions in the provided block, logs the error and continues" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001238"></testcase>
<testcase classname="spec.unit.modules.state_emitter_spec" name="Ably::Modules::StateEmitter#unsafe_once_or_if failure block catches exceptions in the provided block, logs the error and continues" file="./spec/unit/modules/state_emitter_spec.rb" time="0.001446"></testcase>
<testcase classname="spec.unit.realtime.connection_spec" name="Ably::Realtime::Connection behaves like an outgoing protocol message bus behaves like a protocol message bus __protocol_msgbus__ PubSub supports valid ProtocolMessage messages" file="./spec/unit/realtime/connection_spec.rb" time="4.013713"><failure message="859: unexpected token at &apos;&apos;" type="JSON::ParserError">Failure/Error: JSON.parse(client.recover.to_s)

JSON::ParserError:
  859: unexpected token at &apos;&apos;
Shared Example Group: &quot;a protocol message bus&quot; called from ./spec/shared/protocol_msgbus_behaviour.rb:33
Shared Example Group: &quot;an outgoing protocol message bus&quot; called from ./spec/unit/realtime/connection_spec.rb:35
./vendor/bundle/ruby/3.1.0/gems/json-2.6.2/lib/json/common.rb:216:in `parse&apos;
./vendor/bundle/ruby/3.1.0/gems/json-2.6.2/lib/json/common.rb:216:in `parse&apos;
./lib/ably/realtime/connection.rb:674:in `connection_recover_parts&apos;
./lib/ably/realtime/connection.rb:171:in `initialize&apos;
./spec/unit/realtime/connection_spec.rb:8:in `new&apos;
./spec/unit/realtime/connection_spec.rb:8:in `block (2 levels) in &lt;top (required)&gt;&apos;
./spec/unit/realtime/connection_spec.rb:16:in `block (2 levels) in &lt;top (required)&gt;&apos;
./spec/support/rest_testapp_before_retry.rb:6:in `block (2 levels) in &lt;top (required)&gt;&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup&apos;
./vendor/bundle/ruby/3.1.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in &lt;top (required)&gt;&apos;</failure></testcase>
<testcase classname="spec.unit.realtime.connection_spec" name="Ably::Realtime::Connection behaves like an outgoing protocol message bus behaves like a protocol message bus __protocol_msgbus__ PubSub fail with unacceptable STATE event names" file="./spec/unit/realtime/connection_spec.rb" time="4.013793"><failure message="859: unexpected token at &apos;&apos;" type="JSON::ParserError">Failure/Error: JSON.parse(client.recover.to_s)

JSON::ParserError:
  859: unexpected token at &apos;&apos;
Shared Example Group: &quot;a protocol message bus&quot; called from ./spec/shared/protocol_msgbus_behaviour.rb:33
Shared Example Group: &quot;an outgoing protocol message bus&quot; called from ./spec/unit/realtime/connection_spec.rb:35
./vendor/bundle/ruby/3.1.0/gems/json-2.6.2/lib/json/common.rb:216:in `parse&apos;
./vendor/bundle/ruby/3.1.0/gems/json-2.6.2/lib/json/common.rb:216:in `parse&apos;
./lib/ably/realtime/connection.rb:674:in `connection_recover_parts&apos;
./lib/ably/realtime/connection.rb:171:in `initialize&apos;
./spec/unit/realtime/connection_spec.rb:8:in `new&apos;
./spec/unit/realtime/connection_spec.rb:8:in `block (2 levels) in &lt;top (required)&gt;&apos;
./spec/unit/realtime/connection_spec.rb:16:in `block (2 levels) in &lt;top (required)&gt;&apos;
./spec/support/rest_testapp_before_retry.rb:6:in `block (2 levels) in &lt;top (required)&gt;&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup&apos;
./vendor/bundle/ruby/3.1.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in &lt;top (required)&gt;&apos;</failure></testcase>
<testcase classname="spec.unit.realtime.connection_spec" name="Ably::Realtime::Connection callbacks fail with unacceptable STATE event names" file="./spec/unit/realtime/connection_spec.rb" time="4.013039"><failure message="859: unexpected token at &apos;&apos;" type="JSON::ParserError">Failure/Error: JSON.parse(client.recover.to_s)

JSON::ParserError:
  859: unexpected token at &apos;&apos;
./vendor/bundle/ruby/3.1.0/gems/json-2.6.2/lib/json/common.rb:216:in `parse&apos;
./vendor/bundle/ruby/3.1.0/gems/json-2.6.2/lib/json/common.rb:216:in `parse&apos;
./lib/ably/realtime/connection.rb:674:in `connection_recover_parts&apos;
./lib/ably/realtime/connection.rb:171:in `initialize&apos;
./spec/unit/realtime/connection_spec.rb:8:in `new&apos;
./spec/unit/realtime/connection_spec.rb:8:in `block (2 levels) in &lt;top (required)&gt;&apos;
./spec/unit/realtime/connection_spec.rb:16:in `block (2 levels) in &lt;top (required)&gt;&apos;
./spec/support/rest_testapp_before_retry.rb:6:in `block (2 levels) in &lt;top (required)&gt;&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup&apos;
./vendor/bundle/ruby/3.1.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in &lt;top (required)&gt;&apos;</failure></testcase>
<testcase classname="spec.unit.realtime.connection_spec" name="Ably::Realtime::Connection callbacks are supported for valid STATE events" file="./spec/unit/realtime/connection_spec.rb" time="4.011794"><failure message="859: unexpected token at &apos;&apos;" type="JSON::ParserError">Failure/Error: JSON.parse(client.recover.to_s)

JSON::ParserError:
  859: unexpected token at &apos;&apos;
./vendor/bundle/ruby/3.1.0/gems/json-2.6.2/lib/json/common.rb:216:in `parse&apos;
./vendor/bundle/ruby/3.1.0/gems/json-2.6.2/lib/json/common.rb:216:in `parse&apos;
./lib/ably/realtime/connection.rb:674:in `connection_recover_parts&apos;
./lib/ably/realtime/connection.rb:171:in `initialize&apos;
./spec/unit/realtime/connection_spec.rb:8:in `new&apos;
./spec/unit/realtime/connection_spec.rb:8:in `block (2 levels) in &lt;top (required)&gt;&apos;
./spec/unit/realtime/connection_spec.rb:16:in `block (2 levels) in &lt;top (required)&gt;&apos;
./spec/support/rest_testapp_before_retry.rb:6:in `block (2 levels) in &lt;top (required)&gt;&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup&apos;
./vendor/bundle/ruby/3.1.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in &lt;top (required)&gt;&apos;</failure></testcase>
<testcase classname="spec.unit.realtime.connection_spec" name="Ably::Realtime::Connection connection resume callbacks #trigger_resumed executes the callbacks" file="./spec/unit/realtime/connection_spec.rb" time="4.012939"><failure message="859: unexpected token at &apos;&apos;" type="JSON::ParserError">Failure/Error: JSON.parse(client.recover.to_s)

JSON::ParserError:
  859: unexpected token at &apos;&apos;
./vendor/bundle/ruby/3.1.0/gems/json-2.6.2/lib/json/common.rb:216:in `parse&apos;
./vendor/bundle/ruby/3.1.0/gems/json-2.6.2/lib/json/common.rb:216:in `parse&apos;
./lib/ably/realtime/connection.rb:674:in `connection_recover_parts&apos;
./lib/ably/realtime/connection.rb:171:in `initialize&apos;
./spec/unit/realtime/connection_spec.rb:8:in `new&apos;
./spec/unit/realtime/connection_spec.rb:8:in `block (2 levels) in &lt;top (required)&gt;&apos;
./spec/unit/realtime/connection_spec.rb:16:in `block (2 levels) in &lt;top (required)&gt;&apos;
./spec/support/rest_testapp_before_retry.rb:6:in `block (2 levels) in &lt;top (required)&gt;&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup&apos;
./vendor/bundle/ruby/3.1.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in &lt;top (required)&gt;&apos;</failure></testcase>
<testcase classname="spec.unit.realtime.connection_spec" name="Ably::Realtime::Connection connection resume callbacks #off_resume registers a callback" file="./spec/unit/realtime/connection_spec.rb" time="4.012959"><failure message="859: unexpected token at &apos;&apos;" type="JSON::ParserError">Failure/Error: JSON.parse(client.recover.to_s)

JSON::ParserError:
  859: unexpected token at &apos;&apos;
./vendor/bundle/ruby/3.1.0/gems/json-2.6.2/lib/json/common.rb:216:in `parse&apos;
./vendor/bundle/ruby/3.1.0/gems/json-2.6.2/lib/json/common.rb:216:in `parse&apos;
./lib/ably/realtime/connection.rb:674:in `connection_recover_parts&apos;
./lib/ably/realtime/connection.rb:171:in `initialize&apos;
./spec/unit/realtime/connection_spec.rb:8:in `new&apos;
./spec/unit/realtime/connection_spec.rb:8:in `block (2 levels) in &lt;top (required)&gt;&apos;
./spec/unit/realtime/connection_spec.rb:16:in `block (2 levels) in &lt;top (required)&gt;&apos;
./spec/support/rest_testapp_before_retry.rb:6:in `block (2 levels) in &lt;top (required)&gt;&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup&apos;
./vendor/bundle/ruby/3.1.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in &lt;top (required)&gt;&apos;</failure></testcase>
<testcase classname="spec.unit.realtime.connection_spec" name="Ably::Realtime::Connection connection resume callbacks #on_resume registers a callback" file="./spec/unit/realtime/connection_spec.rb" time="4.016887"><failure message="859: unexpected token at &apos;&apos;" type="JSON::ParserError">Failure/Error: JSON.parse(client.recover.to_s)

JSON::ParserError:
  859: unexpected token at &apos;&apos;
./vendor/bundle/ruby/3.1.0/gems/json-2.6.2/lib/json/common.rb:216:in `parse&apos;
./vendor/bundle/ruby/3.1.0/gems/json-2.6.2/lib/json/common.rb:216:in `parse&apos;
./lib/ably/realtime/connection.rb:674:in `connection_recover_parts&apos;
./lib/ably/realtime/connection.rb:171:in `initialize&apos;
./spec/unit/realtime/connection_spec.rb:8:in `new&apos;
./spec/unit/realtime/connection_spec.rb:8:in `block (2 levels) in &lt;top (required)&gt;&apos;
./spec/unit/realtime/connection_spec.rb:16:in `block (2 levels) in &lt;top (required)&gt;&apos;
./spec/support/rest_testapp_before_retry.rb:6:in `block (2 levels) in &lt;top (required)&gt;&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup&apos;
./vendor/bundle/ruby/3.1.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in &lt;top (required)&gt;&apos;</failure></testcase>
<testcase classname="spec.unit.realtime.connection_spec" name="Ably::Realtime::Connection behaves like an incoming protocol message bus behaves like a protocol message bus __protocol_msgbus__ PubSub supports valid ProtocolMessage messages" file="./spec/unit/realtime/connection_spec.rb" time="4.013240"><failure message="859: unexpected token at &apos;&apos;" type="JSON::ParserError">Failure/Error: JSON.parse(client.recover.to_s)

JSON::ParserError:
  859: unexpected token at &apos;&apos;
Shared Example Group: &quot;a protocol message bus&quot; called from ./spec/shared/protocol_msgbus_behaviour.rb:27
Shared Example Group: &quot;an incoming protocol message bus&quot; called from ./spec/unit/realtime/connection_spec.rb:34
./vendor/bundle/ruby/3.1.0/gems/json-2.6.2/lib/json/common.rb:216:in `parse&apos;
./vendor/bundle/ruby/3.1.0/gems/json-2.6.2/lib/json/common.rb:216:in `parse&apos;
./lib/ably/realtime/connection.rb:674:in `connection_recover_parts&apos;
./lib/ably/realtime/connection.rb:171:in `initialize&apos;
./spec/unit/realtime/connection_spec.rb:8:in `new&apos;
./spec/unit/realtime/connection_spec.rb:8:in `block (2 levels) in &lt;top (required)&gt;&apos;
./spec/unit/realtime/connection_spec.rb:16:in `block (2 levels) in &lt;top (required)&gt;&apos;
./spec/support/rest_testapp_before_retry.rb:6:in `block (2 levels) in &lt;top (required)&gt;&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup&apos;
./vendor/bundle/ruby/3.1.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in &lt;top (required)&gt;&apos;</failure></testcase>
<testcase classname="spec.unit.realtime.connection_spec" name="Ably::Realtime::Connection behaves like an incoming protocol message bus behaves like a protocol message bus __protocol_msgbus__ PubSub fail with unacceptable STATE event names" file="./spec/unit/realtime/connection_spec.rb" time="4.012115"><failure message="859: unexpected token at &apos;&apos;" type="JSON::ParserError">Failure/Error: JSON.parse(client.recover.to_s)

JSON::ParserError:
  859: unexpected token at &apos;&apos;
Shared Example Group: &quot;a protocol message bus&quot; called from ./spec/shared/protocol_msgbus_behaviour.rb:27
Shared Example Group: &quot;an incoming protocol message bus&quot; called from ./spec/unit/realtime/connection_spec.rb:34
./vendor/bundle/ruby/3.1.0/gems/json-2.6.2/lib/json/common.rb:216:in `parse&apos;
./vendor/bundle/ruby/3.1.0/gems/json-2.6.2/lib/json/common.rb:216:in `parse&apos;
./lib/ably/realtime/connection.rb:674:in `connection_recover_parts&apos;
./lib/ably/realtime/connection.rb:171:in `initialize&apos;
./spec/unit/realtime/connection_spec.rb:8:in `new&apos;
./spec/unit/realtime/connection_spec.rb:8:in `block (2 levels) in &lt;top (required)&gt;&apos;
./spec/unit/realtime/connection_spec.rb:16:in `block (2 levels) in &lt;top (required)&gt;&apos;
./spec/support/rest_testapp_before_retry.rb:6:in `block (2 levels) in &lt;top (required)&gt;&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup&apos;
./vendor/bundle/ruby/3.1.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in &lt;top (required)&gt;&apos;</failure></testcase>
<testcase classname="spec.unit.models.message_encoders.json_spec" name="Ably::Models::MessageEncoders::Json#encode message with Array payload encodes Array payload data as json" file="./spec/unit/models/message_encoders/json_spec.rb" time="0.002044"></testcase>
<testcase classname="spec.unit.models.message_encoders.json_spec" name="Ably::Models::MessageEncoders::Json#encode message with Array payload adds the encoding" file="./spec/unit/models/message_encoders/json_spec.rb" time="0.001017"></testcase>
<testcase classname="spec.unit.models.message_encoders.json_spec" name="Ably::Models::MessageEncoders::Json#encode already encoded message with hash payload adds the encoding" file="./spec/unit/models/message_encoders/json_spec.rb" time="0.001035"></testcase>
<testcase classname="spec.unit.models.message_encoders.json_spec" name="Ably::Models::MessageEncoders::Json#encode already encoded message with hash payload encodes hash payload data as json" file="./spec/unit/models/message_encoders/json_spec.rb" time="0.000859"></testcase>
<testcase classname="spec.unit.models.message_encoders.json_spec" name="Ably::Models::MessageEncoders::Json#encode message with hash payload adds the encoding" file="./spec/unit/models/message_encoders/json_spec.rb" time="0.000884"></testcase>
<testcase classname="spec.unit.models.message_encoders.json_spec" name="Ably::Models::MessageEncoders::Json#encode message with hash payload encodes hash payload data as json" file="./spec/unit/models/message_encoders/json_spec.rb" time="0.001058"></testcase>
<testcase classname="spec.unit.models.message_encoders.json_spec" name="Ably::Models::MessageEncoders::Json#encode message with hash payload and underscore case keys encodes hash payload data as json and leaves underscore case in tact" file="./spec/unit/models/message_encoders/json_spec.rb" time="0.001021"></testcase>
<testcase classname="spec.unit.models.message_encoders.json_spec" name="Ably::Models::MessageEncoders::Json#encode message with hash payload and underscore case keys adds the encoding" file="./spec/unit/models/message_encoders/json_spec.rb" time="0.000963"></testcase>
<testcase classname="spec.unit.models.message_encoders.json_spec" name="Ably::Models::MessageEncoders::Json#encode message with UTF-8 payload leaves the encoding intact" file="./spec/unit/models/message_encoders/json_spec.rb" time="0.000881"></testcase>
<testcase classname="spec.unit.models.message_encoders.json_spec" name="Ably::Models::MessageEncoders::Json#encode message with UTF-8 payload leaves the message data intact" file="./spec/unit/models/message_encoders/json_spec.rb" time="0.001002"></testcase>
<testcase classname="spec.unit.models.message_encoders.json_spec" name="Ably::Models::MessageEncoders::Json#encode message with nil payload leaves the message data intact" file="./spec/unit/models/message_encoders/json_spec.rb" time="0.000950"></testcase>
<testcase classname="spec.unit.models.message_encoders.json_spec" name="Ably::Models::MessageEncoders::Json#encode message with nil payload leaves the encoding intact" file="./spec/unit/models/message_encoders/json_spec.rb" time="0.000974"></testcase>
<testcase classname="spec.unit.models.message_encoders.json_spec" name="Ably::Models::MessageEncoders::Json#encode message with no data payload leaves the encoding intact" file="./spec/unit/models/message_encoders/json_spec.rb" time="0.000863"></testcase>
<testcase classname="spec.unit.models.message_encoders.json_spec" name="Ably::Models::MessageEncoders::Json#encode message with no data payload leaves the message data intact" file="./spec/unit/models/message_encoders/json_spec.rb" time="0.000895"></testcase>
<testcase classname="spec.unit.models.message_encoders.json_spec" name="Ably::Models::MessageEncoders::Json#decode message with json payload in camelCase decodes json" file="./spec/unit/models/message_encoders/json_spec.rb" time="0.002878"></testcase>
<testcase classname="spec.unit.models.message_encoders.json_spec" name="Ably::Models::MessageEncoders::Json#decode message with json payload in camelCase strips the encoding" file="./spec/unit/models/message_encoders/json_spec.rb" time="0.001134"></testcase>
<testcase classname="spec.unit.models.message_encoders.json_spec" name="Ably::Models::MessageEncoders::Json#decode message with json payload strips the encoding" file="./spec/unit/models/message_encoders/json_spec.rb" time="0.001138"></testcase>
<testcase classname="spec.unit.models.message_encoders.json_spec" name="Ably::Models::MessageEncoders::Json#decode message with json payload decodes json" file="./spec/unit/models/message_encoders/json_spec.rb" time="0.001108"></testcase>
<testcase classname="spec.unit.models.message_encoders.json_spec" name="Ably::Models::MessageEncoders::Json#decode message with another payload leaves the message data intact" file="./spec/unit/models/message_encoders/json_spec.rb" time="0.000889"></testcase>
<testcase classname="spec.unit.models.message_encoders.json_spec" name="Ably::Models::MessageEncoders::Json#decode message with another payload leaves the encoding intact" file="./spec/unit/models/message_encoders/json_spec.rb" time="0.001024"></testcase>
<testcase classname="spec.unit.models.message_encoders.json_spec" name="Ably::Models::MessageEncoders::Json#decode message with json payload before other payloads strips the encoding" file="./spec/unit/models/message_encoders/json_spec.rb" time="0.001143"></testcase>
<testcase classname="spec.unit.models.message_encoders.json_spec" name="Ably::Models::MessageEncoders::Json#decode message with json payload before other payloads decodes json" file="./spec/unit/models/message_encoders/json_spec.rb" time="0.001074"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#decode with AES-256-CBC message with cipher payload decodes cipher" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001763"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#decode with AES-256-CBC message with cipher payload strips the encoding" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001720"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#decode with channel set up for AES-128-CBC 256 bit key without any configured encryption raise an exception" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001163"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#decode with channel set up for AES-128-CBC 256 bit key with invalid channel_option cipher params raise an exception" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001420"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#decode with channel set up for AES-128-CBC valid cipher data message with cipher payload before other payloads decodes cipher" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001575"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#decode with channel set up for AES-128-CBC valid cipher data message with cipher payload before other payloads strips the encoding" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001562"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#decode with channel set up for AES-128-CBC valid cipher data message with cipher payload strips the encoding" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001584"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#decode with channel set up for AES-128-CBC valid cipher data message with cipher payload decodes cipher" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001667"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#decode with channel set up for AES-128-CBC valid cipher data message with binary payload decodes cipher" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001589"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#decode with channel set up for AES-128-CBC valid cipher data message with binary payload returns ASCII_8BIT encoded binary data" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.007048"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#decode with channel set up for AES-128-CBC valid cipher data message with binary payload strips the encoding" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.028213"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#decode with channel set up for AES-128-CBC valid cipher data message with another payload leaves the encoding intact" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.000978"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#decode with channel set up for AES-128-CBC valid cipher data message with another payload leaves the message data intact" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001131"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#decode with channel set up for AES-128-CBC with invalid cipher data raise an exception" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001454"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#encode with AES-256-CBC message with cipher payload strips the encoding" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001622"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#encode with AES-256-CBC message with cipher payload decodes cipher" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001537"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#encode with channel set up for AES-128-CBC channel_option cipher params have invalid key length raise an exception" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001318"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#encode with channel set up for AES-128-CBC channel_option cipher params have invalid algorithm raise an exception" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001374"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#encode with channel set up for AES-128-CBC channel_option cipher params have missing key raise an exception" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001155"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#encode with channel set up for AES-128-CBC with encrypted set to true with encryption set to to false leaves encoding intact" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001054"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#encode with channel set up for AES-128-CBC with encrypted set to true with encryption set to to false leaves message intact as encryption is not enable" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001067"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#encode with channel set up for AES-128-CBC with encrypted set to true message with existing cipher encoding before leaves encoding intact" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001053"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#encode with channel set up for AES-128-CBC with encrypted set to true message with existing cipher encoding before leaves message intact as it is already encrypted" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.000917"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#encode with channel set up for AES-128-CBC with encrypted set to true message with binary payload returns ASCII_8BIT encoded binary data" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001361"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#encode with channel set up for AES-128-CBC with encrypted set to true message with binary payload encodes cipher" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001545"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#encode with channel set up for AES-128-CBC with encrypted set to true message with binary payload adds the encoding without utf-8 prefixed" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001321"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#encode with channel set up for AES-128-CBC with encrypted set to true message with string payload encodes cipher" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001672"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#encode with channel set up for AES-128-CBC with encrypted set to true message with string payload adds the encoding with utf-8" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001307"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#encode with channel set up for AES-128-CBC with encrypted set to true message with json payload encodes cipher" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001543"></testcase>
<testcase classname="spec.unit.models.message_encoders.cipher_spec" name="Ably::Models::MessageEncoders::Cipher#encode with channel set up for AES-128-CBC with encrypted set to true message with json payload adds the encoding with utf-8" file="./spec/unit/models/message_encoders/cipher_spec.rb" time="0.001363"></testcase>
<testcase classname="spec.unit.util.crypto_spec" name="Ably::Util::Crypto using shared client lib fixture data with AES-256-CBC behaves like an Ably encrypter and decrypter (#RTL7d) text payload decrypts exactly the same binary data as other client libraries" file="./spec/unit/util/crypto_spec.rb" time="0.001909"></testcase>
<testcase classname="spec.unit.util.crypto_spec" name="Ably::Util::Crypto using shared client lib fixture data with AES-256-CBC behaves like an Ably encrypter and decrypter (#RTL7d) text payload encrypts exactly the same binary data as other client libraries" file="./spec/unit/util/crypto_spec.rb" time="0.001655"></testcase>
<testcase classname="spec.unit.util.crypto_spec" name="Ably::Util::Crypto using shared client lib fixture data with AES-128-CBC behaves like an Ably encrypter and decrypter (#RTL7d) text payload decrypts exactly the same binary data as other client libraries" file="./spec/unit/util/crypto_spec.rb" time="0.002642"></testcase>
<testcase classname="spec.unit.util.crypto_spec" name="Ably::Util::Crypto using shared client lib fixture data with AES-128-CBC behaves like an Ably encrypter and decrypter (#RTL7d) text payload encrypts exactly the same binary data as other client libraries" file="./spec/unit/util/crypto_spec.rb" time="0.001322"></testcase>
<testcase classname="spec.unit.util.crypto_spec" name="Ably::Util::Crypto get_default_params with provided params overrides the defaults" file="./spec/unit/util/crypto_spec.rb" time="0.001143"></testcase>
<testcase classname="spec.unit.util.crypto_spec" name="Ably::Util::Crypto get_default_params with a base64-encoded :key param converts the key to binary" file="./spec/unit/util/crypto_spec.rb" time="0.001180"></testcase>
<testcase classname="spec.unit.util.crypto_spec" name="Ably::Util::Crypto get_default_params without a :key param raises an exception" file="./spec/unit/util/crypto_spec.rb" time="0.001031"></testcase>
<testcase classname="spec.unit.util.crypto_spec" name="Ably::Util::Crypto get_default_params with just a :key param contains the provided key" file="./spec/unit/util/crypto_spec.rb" time="0.001142"></testcase>
<testcase classname="spec.unit.util.crypto_spec" name="Ably::Util::Crypto get_default_params with just a :key param uses the defaults" file="./spec/unit/util/crypto_spec.rb" time="0.001216"></testcase>
<testcase classname="spec.unit.util.crypto_spec" name="Ably::Util::Crypto get_default_params with just a :key param returns a CipherParams object" file="./spec/unit/util/crypto_spec.rb" time="0.001101"></testcase>
<testcase classname="spec.unit.util.crypto_spec" name="Ably::Util::Crypto encrypting an empty string raises an ArgumentError" file="./spec/unit/util/crypto_spec.rb" time="0.001229"></testcase>
<testcase classname="spec.unit.util.crypto_spec" name="Ably::Util::Crypto defaults match other client libraries" file="./spec/unit/util/crypto_spec.rb" time="0.000797"></testcase>
<testcase classname="spec.unit.util.crypto_spec" name="Ably::Util::Crypto encrypts &amp; decrypt #decrypt decrypts a string" file="./spec/unit/util/crypto_spec.rb" time="0.001228"></testcase>
<testcase classname="spec.unit.util.crypto_spec" name="Ably::Util::Crypto encrypts &amp; decrypt #encrypt encrypts a string" file="./spec/unit/util/crypto_spec.rb" time="0.001196"></testcase>
<testcase classname="spec.unit.models.connection_state_change_spec" name="Ably::Models::ConnectionStateChange#retry_in (#TA2) is not required" file="./spec/unit/models/connection_state_change_spec.rb" time="0.000803"></testcase>
<testcase classname="spec.unit.models.connection_state_change_spec" name="Ably::Models::ConnectionStateChange#retry_in (#TA2) is an attribute" file="./spec/unit/models/connection_state_change_spec.rb" time="0.000894"></testcase>
<testcase classname="spec.unit.models.connection_state_change_spec" name="Ably::Models::ConnectionStateChange#reason (#TA3) is an attribute" file="./spec/unit/models/connection_state_change_spec.rb" time="0.000934"></testcase>
<testcase classname="spec.unit.models.connection_state_change_spec" name="Ably::Models::ConnectionStateChange#reason (#TA3) is not required" file="./spec/unit/models/connection_state_change_spec.rb" time="0.000832"></testcase>
<testcase classname="spec.unit.models.connection_state_change_spec" name="Ably::Models::ConnectionStateChange invalid attributes raises an argument error" file="./spec/unit/models/connection_state_change_spec.rb" time="0.000817"></testcase>
<testcase classname="spec.unit.models.connection_state_change_spec" name="Ably::Models::ConnectionStateChange#event(#TA5) is an attribute" file="./spec/unit/models/connection_state_change_spec.rb" time="0.000929"></testcase>
<testcase classname="spec.unit.models.connection_state_change_spec" name="Ably::Models::ConnectionStateChange#event(#TA5) is not required" file="./spec/unit/models/connection_state_change_spec.rb" time="0.000932"></testcase>
<testcase classname="spec.unit.models.connection_state_change_spec" name="Ably::Models::ConnectionStateChange#previous(#TA2) is an attribute" file="./spec/unit/models/connection_state_change_spec.rb" time="0.000940"></testcase>
<testcase classname="spec.unit.models.connection_state_change_spec" name="Ably::Models::ConnectionStateChange#previous(#TA2) is required" file="./spec/unit/models/connection_state_change_spec.rb" time="0.000812"></testcase>
<testcase classname="spec.unit.models.connection_state_change_spec" name="Ably::Models::ConnectionStateChange#current (#TA2) is an attribute" file="./spec/unit/models/connection_state_change_spec.rb" time="0.000920"></testcase>
<testcase classname="spec.unit.models.connection_state_change_spec" name="Ably::Models::ConnectionStateChange#current (#TA2) is required" file="./spec/unit/models/connection_state_change_spec.rb" time="0.000946"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage#to_json with valid data populates the messages" file="./spec/unit/models/protocol_message_spec.rb" time="0.001853"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage#to_json with valid data converts the attribute back to Java mixedCase notation using string keys" file="./spec/unit/models/protocol_message_spec.rb" time="0.003237"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage#to_json is aliased by #to_s " file="./spec/unit/models/protocol_message_spec.rb" time="0.002248"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage#to_json with missing msg_serial for ack message it raises an exception" file="./spec/unit/models/protocol_message_spec.rb" time="0.001171"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage behaves like a model #== is false when attributes are not the same" file="./spec/unit/models/protocol_message_spec.rb" time="0.001042"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage behaves like a model #== is true when attributes are the same" file="./spec/unit/models/protocol_message_spec.rb" time="0.000932"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage behaves like a model #== is false when class type differs" file="./spec/unit/models/protocol_message_spec.rb" time="0.000959"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage behaves like a model attributes #[] provides accessor method to #attributes" file="./spec/unit/models/protocol_message_spec.rb" time="0.000994"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage behaves like a model attributes #connection_id retrieves attribute :connection_id" file="./spec/unit/models/protocol_message_spec.rb" time="0.001039"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage behaves like a model attributes #id retrieves attribute :id" file="./spec/unit/models/protocol_message_spec.rb" time="0.000991"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage behaves like a model attributes #channel_serial retrieves attribute :channel_serial" file="./spec/unit/models/protocol_message_spec.rb" time="0.000985"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage behaves like a model attributes #channel retrieves attribute :channel" file="./spec/unit/models/protocol_message_spec.rb" time="0.000883"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage behaves like a model attributes #attributes provides access to #attributes" file="./spec/unit/models/protocol_message_spec.rb" time="0.000996"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage behaves like a model #to_msgpack returns a msgpack object with Ably payload naming" file="./spec/unit/models/protocol_message_spec.rb" time="0.001168"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage behaves like a model #to_json returns a JSON string with Ably payload naming" file="./spec/unit/models/protocol_message_spec.rb" time="0.001182"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage behaves like a model is immutable prevents changes" file="./spec/unit/models/protocol_message_spec.rb" time="0.001010"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage behaves like a model is immutable dups options" file="./spec/unit/models/protocol_message_spec.rb" time="0.000950"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage#to_msgpack returns a unpackable msgpack object" file="./spec/unit/models/protocol_message_spec.rb" time="0.001642"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage initializer action coercion ignores actions that are Integers" file="./spec/unit/models/protocol_message_spec.rb" time="0.000829"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage initializer action coercion converts actions to Integers if a ACTION" file="./spec/unit/models/protocol_message_spec.rb" time="0.000905"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage initializer action coercion converts actions to Integers if a symbol" file="./spec/unit/models/protocol_message_spec.rb" time="0.000922"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage initializer action coercion raises an argument error if nil" file="./spec/unit/models/protocol_message_spec.rb" time="0.000988"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #action returns an Enum that behaves like a String" file="./spec/unit/models/protocol_message_spec.rb" time="0.000856"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #action returns an Enum that behaves like a symbol" file="./spec/unit/models/protocol_message_spec.rb" time="0.000921"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #action returns an Enum that behaves like a Numeric" file="./spec/unit/models/protocol_message_spec.rb" time="0.000886"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #action returns an Enum that matchdes the ACTION constant" file="./spec/unit/models/protocol_message_spec.rb" time="0.000889"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #has_serial? with msg_serial returns true" file="./spec/unit/models/protocol_message_spec.rb" time="0.001104"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #has_serial? without msg_serial or connection_serial returns false" file="./spec/unit/models/protocol_message_spec.rb" time="0.001116"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #has_serial? with connection_serial returns true" file="./spec/unit/models/protocol_message_spec.rb" time="4.026624"><failure message="
expected: true
     got: false

(compared using eql?)

Diff:
@@ -1 +1 @@
-true
+false
" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: orig_handle_failure(*args, &amp;block)

  expected: true
       got: false

  (compared using eql?)

  Diff:
  @@ -1 +1 @@
  -true
  +false
./spec/support/event_machine_helper.rb:156:in `handle_failure&apos;
./spec/unit/models/protocol_message_spec.rb:309:in `block (5 levels) in &lt;top (required)&gt;&apos;
./spec/support/rest_testapp_before_retry.rb:6:in `block (2 levels) in &lt;top (required)&gt;&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup&apos;
./vendor/bundle/ruby/3.1.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in &lt;top (required)&gt;&apos;</failure></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #timestamp retrieves attribute :timestamp as Time object" file="./spec/unit/models/protocol_message_spec.rb" time="0.001707"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #serial with underlying connection_serial converts :connection_serial to an Integer" file="./spec/unit/models/protocol_message_spec.rb" time="4.010870"><failure message="msg_serial &apos;&apos; is invalid, a positive Integer is expected for a ProtocolMessage" type="TypeError">Failure/Error: raise TypeError, &quot;msg_serial &apos;#{attributes[:msg_serial]}&apos; is invalid, a positive Integer is expected for a ProtocolMessage&quot;

TypeError:
  msg_serial &apos;&apos; is invalid, a positive Integer is expected for a ProtocolMessage
./lib/ably/models/protocol_message.rb:128:in `rescue in message_serial&apos;
./lib/ably/models/protocol_message.rb:125:in `message_serial&apos;
./lib/ably/models/protocol_message.rb:143:in `serial&apos;
./spec/unit/models/protocol_message_spec.rb:274:in `block (5 levels) in &lt;top (required)&gt;&apos;
./spec/support/rest_testapp_before_retry.rb:6:in `block (2 levels) in &lt;top (required)&gt;&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup&apos;
./vendor/bundle/ruby/3.1.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in &lt;top (required)&gt;&apos;
------------------
--- Caused by: ---
TypeError:
  can&apos;t convert nil into Integer
  ./lib/ably/models/protocol_message.rb:126:in `Integer&apos;</failure></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #serial with underlying msg_serial converts :msg_serial to an Integer" file="./spec/unit/models/protocol_message_spec.rb" time="0.001169"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #serial with underlying connection_serial and msg_serial prefers connection_serial and converts :connection_serial to an Integer" file="./spec/unit/models/protocol_message_spec.rb" time="4.012018"><failure message="
expected: 99
     got: 11

(compared using eql?)
" type="RSpec::Expectations::ExpectationNotMetError">Failure/Error: orig_handle_failure(*args, &amp;block)

  expected: 99
       got: 11

  (compared using eql?)
./spec/support/event_machine_helper.rb:156:in `handle_failure&apos;
./spec/unit/models/protocol_message_spec.rb:283:in `block (5 levels) in &lt;top (required)&gt;&apos;
./spec/support/rest_testapp_before_retry.rb:6:in `block (2 levels) in &lt;top (required)&gt;&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup&apos;
./vendor/bundle/ruby/3.1.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in &lt;top (required)&gt;&apos;</failure></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #params (#RTL4k1) when empty is expected to eq {}" file="./spec/unit/models/protocol_message_spec.rb" time="0.001368"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #params (#RTL4k1) when present is expected to eq {:foo=&gt;:bar}" file="./spec/unit/models/protocol_message_spec.rb" time="0.001346"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #auth (#TR4p) without a JSON value contains an empty AuthDetails object" file="./spec/unit/models/protocol_message_spec.rb" time="0.001456"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #auth (#TR4p) with a JSON value contains a AuthDetails object" file="./spec/unit/models/protocol_message_spec.rb" time="0.001041"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #auth (#TR4p) with a JSON value contains the attributes from the JSON auth details" file="./spec/unit/models/protocol_message_spec.rb" time="0.001052"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #presence (#TR4l) contains PresenceMessage objects" file="./spec/unit/models/protocol_message_spec.rb" time="0.004007"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #error with nil error returns nil" file="./spec/unit/models/protocol_message_spec.rb" time="0.001559"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #error with error returns a valid ErrorInfo object" file="./spec/unit/models/protocol_message_spec.rb" time="0.001316"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #error with no error attribute returns nil" file="./spec/unit/models/protocol_message_spec.rb" time="0.001160"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #message_size (#TO3l8) on presence should return 13 bytes (sum in bytes: data and client_id)" file="./spec/unit/models/protocol_message_spec.rb" time="0.001570"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #message_size (#TO3l8) on message should return 76 bytes (sum in bytes: data, client_id, name, extras)" file="./spec/unit/models/protocol_message_spec.rb" time="0.001345"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #messages (#TR4k) contains Message objects" file="./spec/unit/models/protocol_message_spec.rb" time="0.001236"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #count when missing is 1" file="./spec/unit/models/protocol_message_spec.rb" time="0.001433"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #count when non numeric is 1" file="./spec/unit/models/protocol_message_spec.rb" time="0.001348"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #count when greater than 1 is the value of count" file="./spec/unit/models/protocol_message_spec.rb" time="0.001337"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes Java naming converts the attribute to ruby symbol naming convention" file="./spec/unit/models/protocol_message_spec.rb" time="0.001125"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #connection_details (#TR4o) without a JSON value contains an empty ConnectionDetails object" file="./spec/unit/models/protocol_message_spec.rb" time="0.001526"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #connection_details (#TR4o) with a JSON value contains the attributes from the JSON connectionDetails" file="./spec/unit/models/protocol_message_spec.rb" time="0.001559"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #connection_details (#TR4o) with a JSON value contains a ConnectionDetails object" file="./spec/unit/models/protocol_message_spec.rb" time="0.001424"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #message_serial converts :msg_serial to an Integer" file="./spec/unit/models/protocol_message_spec.rb" time="0.001179"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #flags (#TR4i) when channel resumed flag present #has_channel_resumed_flag? is true" file="./spec/unit/models/protocol_message_spec.rb" time="0.001087"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #flags (#TR4i) when channel resumed flag present #has_presence_flag? is false" file="./spec/unit/models/protocol_message_spec.rb" time="0.001080"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #flags (#TR4i) when attach resumed flag flags is 34 #has_attach_presence_flag? is false" file="./spec/unit/models/protocol_message_spec.rb" time="0.000994"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #flags (#TR4i) when attach resumed flag flags is 34 #has_attach_resume_flag? is true" file="./spec/unit/models/protocol_message_spec.rb" time="0.001018"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #flags (#TR4i) when attach resumed flag flags is 0 should raise an exception if flags is a float number" file="./spec/unit/models/protocol_message_spec.rb" time="0.001169"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #flags (#TR4i) when presence flag present #has_presence_flag? is true" file="./spec/unit/models/protocol_message_spec.rb" time="0.001155"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #flags (#TR4i) when presence flag present #has_channel_resumed_flag? is false" file="./spec/unit/models/protocol_message_spec.rb" time="0.017778"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #flags (#TR4i) when nil is zero" file="./spec/unit/models/protocol_message_spec.rb" time="0.029781"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #flags (#TR4i) when channel resumed and presence flags present #has_presence_flag? is true" file="./spec/unit/models/protocol_message_spec.rb" time="0.010860"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #flags (#TR4i) when channel resumed and presence flags present #has_channel_resumed_flag? is true" file="./spec/unit/models/protocol_message_spec.rb" time="0.001222"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #flags (#TR4i) when has another future flag #has_backlog_flag? is true" file="./spec/unit/models/protocol_message_spec.rb" time="0.001068"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #flags (#TR4i) when has another future flag #has_presence_flag? is false" file="./spec/unit/models/protocol_message_spec.rb" time="0.001024"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #flags (#TR4i) when numeric is an Integer" file="./spec/unit/models/protocol_message_spec.rb" time="0.001061"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #messages (#RTL21) contains Message objects in ascending order" file="./spec/unit/models/protocol_message_spec.rb" time="0.001829"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #has_connection_serial? without connection_serial returns false" file="./spec/unit/models/protocol_message_spec.rb" time="4.020080"><failure message="undefined method `has_connection_serial?&apos; for #&lt;Ably::Models::ProtocolMessage:0x00007f3b14621e88 @logger=nil, @raw_hash_object={:action=&gt;1}, @hash_object=#&lt;Ably::Models::IdiomaticRubyWrapper:0x00007f3b14621aa0 @attributes={:action=&gt;1}, @stop_at={}&gt;&gt;

          expect(protocol_message.has_connection_serial?).to eql(false)
                                 ^^^^^^^^^^^^^^^^^^^^^^^" type="NoMethodError">Failure/Error: expect(protocol_message.has_connection_serial?).to eql(false)

NoMethodError:
  undefined method `has_connection_serial?&apos; for #&lt;Ably::Models::ProtocolMessage:0x00007f3b14621e88 @logger=nil, @raw_hash_object={:action=&gt;1}, @hash_object=#&lt;Ably::Models::IdiomaticRubyWrapper:0x00007f3b14621aa0 @attributes={:action=&gt;1}, @stop_at={}&gt;&gt;

            expect(protocol_message.has_connection_serial?).to eql(false)
                                   ^^^^^^^^^^^^^^^^^^^^^^^
./spec/unit/models/protocol_message_spec.rb:249:in `block (5 levels) in &lt;top (required)&gt;&apos;
./spec/support/rest_testapp_before_retry.rb:6:in `block (2 levels) in &lt;top (required)&gt;&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup&apos;
./vendor/bundle/ruby/3.1.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in &lt;top (required)&gt;&apos;</failure></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #has_connection_serial? with connection_serial returns true" file="./spec/unit/models/protocol_message_spec.rb" time="4.019560"><failure message="undefined method `has_connection_serial?&apos; for #&lt;Ably::Models::ProtocolMessage:0x00007f3b144ec090 @logger=nil, @raw_hash_object={:action=&gt;1, :connection_serial=&gt;&quot;55&quot;}, @hash_object=#&lt;Ably::Models::IdiomaticRubyWrapper:0x00007f3b144f3f70 @attributes={:action=&gt;1, :connection_serial=&gt;&quot;55&quot;}, @stop_at={}&gt;&gt;

          expect(protocol_message.has_connection_serial?).to eql(true)
                                 ^^^^^^^^^^^^^^^^^^^^^^^" type="NoMethodError">Failure/Error: expect(protocol_message.has_connection_serial?).to eql(true)

NoMethodError:
  undefined method `has_connection_serial?&apos; for #&lt;Ably::Models::ProtocolMessage:0x00007f3b144ec090 @logger=nil, @raw_hash_object={:action=&gt;1, :connection_serial=&gt;&quot;55&quot;}, @hash_object=#&lt;Ably::Models::IdiomaticRubyWrapper:0x00007f3b144f3f70 @attributes={:action=&gt;1, :connection_serial=&gt;&quot;55&quot;}, @stop_at={}&gt;&gt;

            expect(protocol_message.has_connection_serial?).to eql(true)
                                   ^^^^^^^^^^^^^^^^^^^^^^^
./spec/unit/models/protocol_message_spec.rb:257:in `block (5 levels) in &lt;top (required)&gt;&apos;
./spec/support/rest_testapp_before_retry.rb:6:in `block (2 levels) in &lt;top (required)&gt;&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup&apos;
./vendor/bundle/ruby/3.1.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in &lt;top (required)&gt;&apos;</failure></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #connection_serial converts :connection_serial to an Integer" file="./spec/unit/models/protocol_message_spec.rb" time="4.019560"><failure message="undefined method `connection_serial&apos; for #&lt;Ably::Models::ProtocolMessage:0x00007f3b13c2d0f8 @logger=nil, @raw_hash_object={:action=&gt;1, :connection_serial=&gt;&quot;55&quot;}, @hash_object=#&lt;Ably::Models::IdiomaticRubyWrapper:0x00007f3b13c2d008 @attributes={:action=&gt;1, :connection_serial=&gt;&quot;55&quot;}, @stop_at={}&gt;&gt;

        expect(protocol_message.connection_serial).to be_a(Integer)
                               ^^^^^^^^^^^^^^^^^^
Did you mean?  connection_details
               connection_id" type="NoMethodError">Failure/Error: expect(protocol_message.connection_serial).to be_a(Integer)

NoMethodError:
  undefined method `connection_serial&apos; for #&lt;Ably::Models::ProtocolMessage:0x00007f3b13c2d0f8 @logger=nil, @raw_hash_object={:action=&gt;1, :connection_serial=&gt;&quot;55&quot;}, @hash_object=#&lt;Ably::Models::IdiomaticRubyWrapper:0x00007f3b13c2d008 @attributes={:action=&gt;1, :connection_serial=&gt;&quot;55&quot;}, @stop_at={}&gt;&gt;

          expect(protocol_message.connection_serial).to be_a(Integer)
                                 ^^^^^^^^^^^^^^^^^^
  Did you mean?  connection_details
                 connection_id
./spec/unit/models/protocol_message_spec.rb:133:in `block (4 levels) in &lt;top (required)&gt;&apos;
./spec/support/rest_testapp_before_retry.rb:6:in `block (2 levels) in &lt;top (required)&gt;&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup&apos;
./vendor/bundle/ruby/3.1.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in &lt;top (required)&gt;&apos;</failure></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #has_message_serial? without msg_serial returns false" file="./spec/unit/models/protocol_message_spec.rb" time="0.001357"></testcase>
<testcase classname="spec.unit.models.protocol_message_spec" name="Ably::Models::ProtocolMessage attributes #has_message_serial? with msg_serial returns true" file="./spec/unit/models/protocol_message_spec.rb" time="0.001351"></testcase>
<testcase classname="spec.unit.rest.channel_spec" name="Ably::Rest::Channel#publish name argument as UTF_8 string is permitted" file="./spec/unit/rest/channel_spec.rb" time="0.002853"></testcase>
<testcase classname="spec.unit.rest.channel_spec" name="Ably::Rest::Channel#publish name argument as ASCII_8BIT string is permitted" file="./spec/unit/rest/channel_spec.rb" time="0.002214"></testcase>
<testcase classname="spec.unit.rest.channel_spec" name="Ably::Rest::Channel#publish name argument max message size exceeded when max_message_size is 10 bytes and a message size is 2 bytes should send a message" file="./spec/unit/rest/channel_spec.rb" time="0.002159"></testcase>
<testcase classname="spec.unit.rest.channel_spec" name="Ably::Rest::Channel#publish name argument max message size exceeded when max_message_size is 10 bytes and a message size is 11 bytes should raise Ably::Exceptions::MaxMessageSizeExceeded" file="./spec/unit/rest/channel_spec.rb" time="0.001833"></testcase>
<testcase classname="spec.unit.rest.channel_spec" name="Ably::Rest::Channel#publish name argument max message size exceeded when max_message_size is 65536 bytes and a message size is 10 bytes should send a message" file="./spec/unit/rest/channel_spec.rb" time="0.002031"></testcase>
<testcase classname="spec.unit.rest.channel_spec" name="Ably::Rest::Channel#publish name argument max message size exceeded when max_message_size is 65536 bytes and a message size is 65537 bytes should raise Ably::Exceptions::MaxMessageSizeExceeded" file="./spec/unit/rest/channel_spec.rb" time="0.001619"></testcase>
<testcase classname="spec.unit.rest.channel_spec" name="Ably::Rest::Channel#publish name argument max message size exceeded when max_message_size is nil and a message size is 65537 bytes should raise Ably::Exceptions::MaxMessageSizeExceeded" file="./spec/unit/rest/channel_spec.rb" time="0.001617"></testcase>
<testcase classname="spec.unit.rest.channel_spec" name="Ably::Rest::Channel#publish name argument as Integer raises an argument error" file="./spec/unit/rest/channel_spec.rb" time="0.001301"></testcase>
<testcase classname="spec.unit.rest.channel_spec" name="Ably::Rest::Channel#publish name argument as SHIFT_JIS string is permitted" file="./spec/unit/rest/channel_spec.rb" time="0.001906"></testcase>
<testcase classname="spec.unit.rest.channel_spec" name="Ably::Rest::Channel#publish name argument as frozen UTF_8 string is permitted" file="./spec/unit/rest/channel_spec.rb" time="0.001808"></testcase>
<testcase classname="spec.unit.rest.channel_spec" name="Ably::Rest::Channel#initializer as ASCII_8BIT string gets converted to UTF-8" file="./spec/unit/rest/channel_spec.rb" time="0.001273"></testcase>
<testcase classname="spec.unit.rest.channel_spec" name="Ably::Rest::Channel#initializer as ASCII_8BIT string is compatible with original encoding" file="./spec/unit/rest/channel_spec.rb" time="0.001219"></testcase>
<testcase classname="spec.unit.rest.channel_spec" name="Ably::Rest::Channel#initializer as Integer raises an argument error" file="./spec/unit/rest/channel_spec.rb" time="0.001194"></testcase>
<testcase classname="spec.unit.rest.channel_spec" name="Ably::Rest::Channel#initializer as SHIFT_JIS string is compatible with original encoding" file="./spec/unit/rest/channel_spec.rb" time="0.001336"></testcase>
<testcase classname="spec.unit.rest.channel_spec" name="Ably::Rest::Channel#initializer as SHIFT_JIS string gets converted to UTF-8" file="./spec/unit/rest/channel_spec.rb" time="0.001232"></testcase>
<testcase classname="spec.unit.rest.channel_spec" name="Ably::Rest::Channel#initializer as Nil raises an argument error" file="./spec/unit/rest/channel_spec.rb" time="0.001255"></testcase>
<testcase classname="spec.unit.rest.channel_spec" name="Ably::Rest::Channel#initializer as frozen UTF_8 string remains as UTF-8" file="./spec/unit/rest/channel_spec.rb" time="0.001206"></testcase>
<testcase classname="spec.unit.rest.channel_spec" name="Ably::Rest::Channel#initializer as frozen UTF_8 string is permitted" file="./spec/unit/rest/channel_spec.rb" time="0.001117"></testcase>
<testcase classname="spec.unit.rest.channel_spec" name="Ably::Rest::Channel#initializer as UTF_8 string is permitted" file="./spec/unit/rest/channel_spec.rb" time="0.001128"></testcase>
<testcase classname="spec.unit.rest.channel_spec" name="Ably::Rest::Channel#initializer as UTF_8 string remains as UTF-8" file="./spec/unit/rest/channel_spec.rb" time="0.001145"></testcase>
<testcase classname="spec.unit.models.device_push_details_spec" name="Ably::Models::DevicePushDetails#state and #state= setter accepts nil" file="./spec/unit/models/device_push_details_spec.rb" time="0.001061"></testcase>
<testcase classname="spec.unit.models.device_push_details_spec" name="Ably::Models::DevicePushDetails#state and #state= rejects non string or nil values" file="./spec/unit/models/device_push_details_spec.rb" time="0.000996"></testcase>
<testcase classname="spec.unit.models.device_push_details_spec" name="Ably::Models::DevicePushDetails#state and #state= setter accepts a string value and getter returns the new value" file="./spec/unit/models/device_push_details_spec.rb" time="0.000981"></testcase>
<testcase classname="spec.unit.models.device_push_details_spec" name="Ably::Models::DevicePushDetails#error_reason and #error_reason= setter accepts nil values" file="./spec/unit/models/device_push_details_spec.rb" time="0.001126"></testcase>
<testcase classname="spec.unit.models.device_push_details_spec" name="Ably::Models::DevicePushDetails#error_reason and #error_reason= setter accepts a ErrorInfo object and getter returns a ErrorInfo object" file="./spec/unit/models/device_push_details_spec.rb" time="0.001253"></testcase>
<testcase classname="spec.unit.models.device_push_details_spec" name="Ably::Models::DevicePushDetails#error_reason and #error_reason= setter accepts a Hash value and getter returns a ErrorInfo object" file="./spec/unit/models/device_push_details_spec.rb" time="0.001108"></testcase>
<testcase classname="spec.unit.models.device_push_details_spec" name="Ably::Models::DevicePushDetails#error_reason and #error_reason= rejects non Hash, ErrorInfo or nil values" file="./spec/unit/models/device_push_details_spec.rb" time="0.000883"></testcase>
<testcase classname="spec.unit.models.device_push_details_spec" name="Ably::Models::DevicePushDetails camelCase constructor attributes are rubyfied and exposed as underscore case" file="./spec/unit/models/device_push_details_spec.rb" time="0.001068"></testcase>
<testcase classname="spec.unit.models.device_push_details_spec" name="Ably::Models::DevicePushDetails camelCase constructor attributes are generated when the object is serialised to JSON" file="./spec/unit/models/device_push_details_spec.rb" time="0.004092"></testcase>
<testcase classname="spec.unit.models.device_push_details_spec" name="Ably::Models::DevicePushDetails#recipient and #recipient= setter accepts a Hash value and getter returns the new value" file="./spec/unit/models/device_push_details_spec.rb" time="0.001271"></testcase>
<testcase classname="spec.unit.models.device_push_details_spec" name="Ably::Models::DevicePushDetails#recipient and #recipient= setter accepts nil but always returns an empty hash" file="./spec/unit/models/device_push_details_spec.rb" time="0.001146"></testcase>
<testcase classname="spec.unit.models.device_push_details_spec" name="Ably::Models::DevicePushDetails#recipient and #recipient= rejects non Hash or nil values" file="./spec/unit/models/device_push_details_spec.rb" time="0.001030"></testcase>
<testcase classname="spec.unit.realtime.realtime_spec" name="Ably::Realtime constructor returns an Ably::Realtime::Client" file="./spec/unit/realtime/realtime_spec.rb" time="4.012366"><failure message="859: unexpected token at &apos;&apos;" type="JSON::ParserError">Failure/Error: JSON.parse(client.recover.to_s)

JSON::ParserError:
  859: unexpected token at &apos;&apos;
./vendor/bundle/ruby/3.1.0/gems/json-2.6.2/lib/json/common.rb:216:in `parse&apos;
./vendor/bundle/ruby/3.1.0/gems/json-2.6.2/lib/json/common.rb:216:in `parse&apos;
./lib/ably/realtime/connection.rb:674:in `connection_recover_parts&apos;
./lib/ably/realtime/connection.rb:171:in `initialize&apos;
./lib/ably/realtime/client.rb:133:in `new&apos;
./lib/ably/realtime/client.rb:133:in `initialize&apos;
./lib/ably/realtime.rb:57:in `new&apos;
./lib/ably/realtime.rb:57:in `new&apos;
./spec/unit/realtime/realtime_spec.rb:7:in `block (2 levels) in &lt;top (required)&gt;&apos;
./spec/support/rest_testapp_before_retry.rb:6:in `block (2 levels) in &lt;top (required)&gt;&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry&apos;
./vendor/bundle/ruby/3.1.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup&apos;
./vendor/bundle/ruby/3.1.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in &lt;top (required)&gt;&apos;</failure></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult with paged http response has next page" file="./spec/unit/models/paginated_result_spec.rb" time="0.003956"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult with paged http response is not the last page" file="./spec/unit/models/paginated_result_spec.rb" time="0.001869"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult with paged http response supports pagination" file="./spec/unit/models/paginated_result_spec.rb" time="0.001700"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult with paged http response accessing next page retrieves the next page of results" file="./spec/unit/models/paginated_result_spec.rb" time="0.001838"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult with paged http response accessing next page returns another PaginatedResult" file="./spec/unit/models/paginated_result_spec.rb" time="0.001756"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult with paged http response accessing next page is the last page" file="./spec/unit/models/paginated_result_spec.rb" time="0.001805"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult with paged http response accessing next page returns nil when trying to access the last page when it is the last page" file="./spec/unit/models/paginated_result_spec.rb" time="0.001894"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult with paged http response accessing next page does not have a next page" file="./spec/unit/models/paginated_result_spec.rb" time="0.002142"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult with paged http response accessing next page and then first page retrieves the first page of results" file="./spec/unit/models/paginated_result_spec.rb" time="0.001967"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult with paged http response accessing next page and then first page returns a PaginatedResult" file="./spec/unit/models/paginated_result_spec.rb" time="0.001897"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult#items provides [] accessor method" file="./spec/unit/models/paginated_result_spec.rb" time="0.001319"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult#items is Enumerable" file="./spec/unit/models/paginated_result_spec.rb" time="0.001390"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult#items #last gets the last item in page" file="./spec/unit/models/paginated_result_spec.rb" time="0.001324"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult#items returns correct length from body" file="./spec/unit/models/paginated_result_spec.rb" time="0.001414"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult#items is iterable" file="./spec/unit/models/paginated_result_spec.rb" time="0.001380"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult#items #first gets the first item in page" file="./spec/unit/models/paginated_result_spec.rb" time="0.001245"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult#items with coercion returns coerced objects" file="./spec/unit/models/paginated_result_spec.rb" time="0.001474"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult#items #each yields each item" file="./spec/unit/models/paginated_result_spec.rb" time="0.001506"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult#items #each returns an enumerator" file="./spec/unit/models/paginated_result_spec.rb" time="0.001433"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult with non paged http response does not support pagination" file="./spec/unit/models/paginated_result_spec.rb" time="0.001367"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult with non paged http response does not have next page" file="./spec/unit/models/paginated_result_spec.rb" time="0.001387"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult with non paged http response is the last page" file="./spec/unit/models/paginated_result_spec.rb" time="0.001435"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult with non paged http response returns nil when accessing next page" file="./spec/unit/models/paginated_result_spec.rb" time="0.001390"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult with non paged http response returns nil when accessing first page" file="./spec/unit/models/paginated_result_spec.rb" time="0.001290"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult paged transformations with option async_blocking_operations: true #first calls the errback callback when first page headers are missing" file="./spec/unit/models/paginated_result_spec.rb" time="0.017986"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult paged transformations with option async_blocking_operations: true #next allows a success callback block to be added" file="./spec/unit/models/paginated_result_spec.rb" time="0.005891"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult paged transformations with option async_blocking_operations: true #next returns a SafeDeferrable that catches exceptions in callbacks and logs them" file="./spec/unit/models/paginated_result_spec.rb" time="0.003299"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult paged transformations with each block calls the block for each result after retrieving the results" file="./spec/unit/models/paginated_result_spec.rb" time="0.001482"></testcase>
<testcase classname="spec.unit.models.paginated_result_spec" name="Ably::Models::PaginatedResult paged transformations with each block calls the block for each result on second page after retrieving the results" file="./spec/unit/models/paginated_result_spec.rb" time="0.001776"></testcase>
<testcase classname="spec.unit.models.auth_details_spec" name="Ably::Models::AuthDetails behaves like a model #to_msgpack returns a msgpack object with Ably payload naming" file="./spec/unit/models/auth_details_spec.rb" time="0.001290"></testcase>
<testcase classname="spec.unit.models.auth_details_spec" name="Ably::Models::AuthDetails behaves like a model #to_json returns a JSON string with Ably payload naming" file="./spec/unit/models/auth_details_spec.rb" time="0.001163"></testcase>
<testcase classname="spec.unit.models.auth_details_spec" name="Ably::Models::AuthDetails behaves like a model attributes #access_token retrieves attribute :access_token" file="./spec/unit/models/auth_details_spec.rb" time="0.000894"></testcase>
<testcase classname="spec.unit.models.auth_details_spec" name="Ably::Models::AuthDetails behaves like a model attributes #[] provides accessor method to #attributes" file="./spec/unit/models/auth_details_spec.rb" time="0.001134"></testcase>
<testcase classname="spec.unit.models.auth_details_spec" name="Ably::Models::AuthDetails behaves like a model attributes #attributes provides access to #attributes" file="./spec/unit/models/auth_details_spec.rb" time="0.000994"></testcase>
<testcase classname="spec.unit.models.auth_details_spec" name="Ably::Models::AuthDetails behaves like a model #== is true when attributes are the same" file="./spec/unit/models/auth_details_spec.rb" time="0.001030"></testcase>
<testcase classname="spec.unit.models.auth_details_spec" name="Ably::Models::AuthDetails behaves like a model #== is false when attributes are not the same" file="./spec/unit/models/auth_details_spec.rb" time="0.000947"></testcase>
<testcase classname="spec.unit.models.auth_details_spec" name="Ably::Models::AuthDetails behaves like a model #== is false when class type differs" file="./spec/unit/models/auth_details_spec.rb" time="0.000924"></testcase>
<testcase classname="spec.unit.models.auth_details_spec" name="Ably::Models::AuthDetails behaves like a model is immutable prevents changes" file="./spec/unit/models/auth_details_spec.rb" time="0.001025"></testcase>
<testcase classname="spec.unit.models.auth_details_spec" name="Ably::Models::AuthDetails behaves like a model is immutable dups options" file="./spec/unit/models/auth_details_spec.rb" time="0.000925"></testcase>
<testcase classname="spec.unit.models.auth_details_spec" name="Ably::Models::AuthDetails == is false when attributes are not the same" file="./spec/unit/models/auth_details_spec.rb" time="0.001162"></testcase>
<testcase classname="spec.unit.models.auth_details_spec" name="Ably::Models::AuthDetails == is true when attributes are the same" file="./spec/unit/models/auth_details_spec.rb" time="0.000950"></testcase>
<testcase classname="spec.unit.models.auth_details_spec" name="Ably::Models::AuthDetails == is false when class type differs" file="./spec/unit/models/auth_details_spec.rb" time="0.000760"></testcase>
<testcase classname="spec.unit.models.auth_details_spec" name="Ably::Models::AuthDetails AuthDetails conversion methods with a JSON object returns a new AuthDetails object from the JSON" file="./spec/unit/models/auth_details_spec.rb" time="0.000842"></testcase>
<testcase classname="spec.unit.models.auth_details_spec" name="Ably::Models::AuthDetails AuthDetails conversion methods with a AuthDetails object returns the AuthDetails object" file="./spec/unit/models/auth_details_spec.rb" time="0.001086"></testcase>
<testcase classname="spec.unit.modules.conversions_spec" name="Ably::Modules::Conversions#as_since_epoch with numeric converts to integer" file="./spec/unit/modules/conversions_spec.rb" time="0.001001"></testcase>
<testcase classname="spec.unit.modules.conversions_spec" name="Ably::Modules::Conversions#as_since_epoch with numeric accepts integers" file="./spec/unit/modules/conversions_spec.rb" time="0.000864"></testcase>
<testcase classname="spec.unit.modules.conversions_spec" name="Ably::Modules::Conversions#as_since_epoch with any other object raises an exception" file="./spec/unit/modules/conversions_spec.rb" time="0.000958"></testcase>
<testcase classname="spec.unit.modules.conversions_spec" name="Ably::Modules::Conversions#as_since_epoch with time converted to seconds" file="./spec/unit/modules/conversions_spec.rb" time="0.001069"></testcase>
<testcase classname="spec.unit.modules.conversions_spec" name="Ably::Modules::Conversions#as_since_epoch with time converts to milliseconds by default" file="./spec/unit/modules/conversions_spec.rb" time="0.000870"></testcase>
<testcase classname="spec.unit.modules.conversions_spec" name="Ably::Modules::Conversions#as_time_from_epoch with Time leaves intact" file="./spec/unit/modules/conversions_spec.rb" time="0.000853"></testcase>
<testcase classname="spec.unit.modules.conversions_spec" name="Ably::Modules::Conversions#as_time_from_epoch with numeric converts to Time from seconds" file="./spec/unit/modules/conversions_spec.rb" time="0.000956"></testcase>
<testcase classname="spec.unit.modules.conversions_spec" name="Ably::Modules::Conversions#as_time_from_epoch with numeric converts to Time from milliseconds by default" file="./spec/unit/modules/conversions_spec.rb" time="0.001061"></testcase>
<testcase classname="spec.unit.modules.conversions_spec" name="Ably::Modules::Conversions#as_time_from_epoch with any other object raises an exception" file="./spec/unit/modules/conversions_spec.rb" time="0.001016"></testcase>
<testcase classname="spec.unit.util.pub_sub_spec" name="Ably::Util::PubSub#unsubscribe deletes matching callbacks" file="./spec/unit/util/pub_sub_spec.rb" time="0.005084"></testcase>
<testcase classname="spec.unit.util.pub_sub_spec" name="Ably::Util::PubSub#unsubscribe continues if the block does not exist" file="./spec/unit/util/pub_sub_spec.rb" time="0.001452"></testcase>
<testcase classname="spec.unit.util.pub_sub_spec" name="Ably::Util::PubSub#unsubscribe deletes all callbacks if not block given" file="./spec/unit/util/pub_sub_spec.rb" time="0.001304"></testcase>
<testcase classname="spec.unit.util.pub_sub_spec" name="Ably::Util::PubSub event fan out #publish allows publishing to more than on subscriber" file="./spec/unit/util/pub_sub_spec.rb" time="0.001281"></testcase>
<testcase classname="spec.unit.util.pub_sub_spec" name="Ably::Util::PubSub event fan out #publish sends only messages to #subscribe callbacks matching event names" file="./spec/unit/util/pub_sub_spec.rb" time="0.001070"></testcase>
<testcase classname="spec.unit.util.pub_sub_spec" name="Ably::Util::PubSub event fan out with coercion calls the provided proc to coerce the event name" file="./spec/unit/util/pub_sub_spec.rb" time="0.001628"></testcase>
<testcase classname="spec.unit.util.pub_sub_spec" name="Ably::Util::PubSub event fan out with coercion and two different configurations but sharing the same class does not share state" file="./spec/unit/util/pub_sub_spec.rb" time="0.001318"></testcase>
<testcase classname="spec.unit.util.pub_sub_spec" name="Ably::Util::PubSub event fan out without coercion only matches event names on type matches" file="./spec/unit/util/pub_sub_spec.rb" time="0.001259"></testcase>
<testcase classname="spec.unit.realtime.websocket_transport_spec" name="Ably::Realtime::Connection::WebsocketTransport behaves like an outgoing protocol message bus behaves like a protocol message bus __protocol_msgbus__ PubSub fail with unacceptable STATE event names" file="./spec/unit/realtime/websocket_transport_spec.rb" time="0.002230"></testcase>
<testcase classname="spec.unit.realtime.websocket_transport_spec" name="Ably::Realtime::Connection::WebsocketTransport behaves like an outgoing protocol message bus behaves like a protocol message bus __protocol_msgbus__ PubSub supports valid ProtocolMessage messages" file="./spec/unit/realtime/websocket_transport_spec.rb" time="0.002020"></testcase>
<testcase classname="spec.unit.realtime.websocket_transport_spec" name="Ably::Realtime::Connection::WebsocketTransport behaves like an incoming protocol message bus behaves like a protocol message bus __protocol_msgbus__ PubSub fail with unacceptable STATE event names" file="./spec/unit/realtime/websocket_transport_spec.rb" time="0.001826"></testcase>
<testcase classname="spec.unit.realtime.websocket_transport_spec" name="Ably::Realtime::Connection::WebsocketTransport behaves like an incoming protocol message bus behaves like a protocol message bus __protocol_msgbus__ PubSub supports valid ProtocolMessage messages" file="./spec/unit/realtime/websocket_transport_spec.rb" time="0.001698"></testcase>
<testcase classname="spec.unit.models.channel_state_change_spec" name="Ably::Models::ChannelStateChange#event (#TH5) is not required" file="./spec/unit/models/channel_state_change_spec.rb" time="0.000980"></testcase>
<testcase classname="spec.unit.models.channel_state_change_spec" name="Ably::Models::ChannelStateChange#event (#TH5) is an attribute" file="./spec/unit/models/channel_state_change_spec.rb" time="0.000815"></testcase>
<testcase classname="spec.unit.models.channel_state_change_spec" name="Ably::Models::ChannelStateChange#current (#TH1) is an attribute" file="./spec/unit/models/channel_state_change_spec.rb" time="0.001079"></testcase>
<testcase classname="spec.unit.models.channel_state_change_spec" name="Ably::Models::ChannelStateChange#current (#TH1) is required" file="./spec/unit/models/channel_state_change_spec.rb" time="0.001178"></testcase>
<testcase classname="spec.unit.models.channel_state_change_spec" name="Ably::Models::ChannelStateChange#resumed (#TH4) is true when provided" file="./spec/unit/models/channel_state_change_spec.rb" time="0.001138"></testcase>
<testcase classname="spec.unit.models.channel_state_change_spec" name="Ably::Models::ChannelStateChange#resumed (#TH4) is false when ommitted" file="./spec/unit/models/channel_state_change_spec.rb" time="0.000820"></testcase>
<testcase classname="spec.unit.models.channel_state_change_spec" name="Ably::Models::ChannelStateChange#previous (#TH2) is an attribute" file="./spec/unit/models/channel_state_change_spec.rb" time="0.001090"></testcase>
<testcase classname="spec.unit.models.channel_state_change_spec" name="Ably::Models::ChannelStateChange#previous (#TH2) is required" file="./spec/unit/models/channel_state_change_spec.rb" time="0.001003"></testcase>
<testcase classname="spec.unit.models.channel_state_change_spec" name="Ably::Models::ChannelStateChange#reason (#TH3) is not required" file="./spec/unit/models/channel_state_change_spec.rb" time="0.000900"></testcase>
<testcase classname="spec.unit.models.channel_state_change_spec" name="Ably::Models::ChannelStateChange#reason (#TH3) is an attribute" file="./spec/unit/models/channel_state_change_spec.rb" time="0.000966"></testcase>
<testcase classname="spec.unit.models.channel_state_change_spec" name="Ably::Models::ChannelStateChange invalid attributes raises an argument error" file="./spec/unit/models/channel_state_change_spec.rb" time="0.001201"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum class method #to_sym_arr returns all keys as symbols" file="./spec/unit/modules/enum_spec.rb" time="0.001129"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum defined Enum from another Enum provides a MixedCase const for each provided value" file="./spec/unit/modules/enum_spec.rb" time="0.000854"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum defined Enum from Hash class provides a MixedCase const for each provided value" file="./spec/unit/modules/enum_spec.rb" time="0.000787"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum defined Enum from Hash class #get by invalid integer index raises an exception" file="./spec/unit/modules/enum_spec.rb" time="0.001063"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum defined Enum from Hash class #get by integer index for 1 returns an enum" file="./spec/unit/modules/enum_spec.rb" time="0.001054"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum defined Enum from Hash class #get by integer index for 5 returns an enum" file="./spec/unit/modules/enum_spec.rb" time="0.000922"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum defined Enum from Hash class #get by string value returns an enum" file="./spec/unit/modules/enum_spec.rb" time="0.000967"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum Enum instance #== compares with a integer index" file="./spec/unit/modules/enum_spec.rb" time="0.001140"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum Enum instance #== compares with a symbol" file="./spec/unit/modules/enum_spec.rb" time="0.001028"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum Enum instance #== compares with itself" file="./spec/unit/modules/enum_spec.rb" time="0.000786"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum Enum instance #== compares with other Objects" file="./spec/unit/modules/enum_spec.rb" time="0.000878"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum Enum instance #== compares with a string" file="./spec/unit/modules/enum_spec.rb" time="0.000807"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum Enum instance #to_s returns ENUMNAME.CamelCase name" file="./spec/unit/modules/enum_spec.rb" time="0.000880"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum Enum instance #to_json returns a symbol string key value" file="./spec/unit/modules/enum_spec.rb" time="0.001072"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum Enum instance #to_sym returns a snake_case symbol" file="./spec/unit/modules/enum_spec.rb" time="0.000938"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum Enum instance #to_i returns the Enum index" file="./spec/unit/modules/enum_spec.rb" time="0.000913"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum convertor method added to instance converts strings" file="./spec/unit/modules/enum_spec.rb" time="0.000950"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum convertor method added to instance converts symbols" file="./spec/unit/modules/enum_spec.rb" time="0.001009"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum convertor method added to instance converts integer index" file="./spec/unit/modules/enum_spec.rb" time="0.000909"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum using include? to compare Enum values allows different type comparison 1" file="./spec/unit/modules/enum_spec.rb" time="0.000896"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum using include? to compare Enum values allows different type comparison 2" file="./spec/unit/modules/enum_spec.rb" time="0.000873"><skipped/></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum using include? to compare Enum values allows same type comparison" file="./spec/unit/modules/enum_spec.rb" time="0.000799"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum using include? to compare Enum values #match_any? replacement for include? matches any value in the arguments provided" file="./spec/unit/modules/enum_spec.rb" time="0.000803"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum using include? to compare Enum values #match_any? replacement for include? returns false if there are no matches in any value in the arguments provided" file="./spec/unit/modules/enum_spec.rb" time="0.000882"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum convertor method added to class converts symbols" file="./spec/unit/modules/enum_spec.rb" time="0.000910"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum convertor method added to class converts strings" file="./spec/unit/modules/enum_spec.rb" time="0.000883"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum convertor method added to class converts integer index" file="./spec/unit/modules/enum_spec.rb" time="0.000864"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum two similar Enums with shared symbol values matches symbols when used with a converter method" file="./spec/unit/modules/enum_spec.rb" time="0.000962"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum two similar Enums with shared symbol values provides compatability for the equivalent symbol values" file="./spec/unit/modules/enum_spec.rb" time="0.000804"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum two similar Enums with shared symbol values does not consider different symbol values the same" file="./spec/unit/modules/enum_spec.rb" time="0.000973"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum two similar Enums with shared symbol values fails to match when using an incompatible method with a converter method" file="./spec/unit/modules/enum_spec.rb" time="0.000919"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum defined Enum from Array class provides a MixedCase const for each provided value" file="./spec/unit/modules/enum_spec.rb" time="0.000915"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum defined Enum from Array class behaves like Enumerable" file="./spec/unit/modules/enum_spec.rb" time="0.000882"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum defined Enum from Array class freezes the Enum" file="./spec/unit/modules/enum_spec.rb" time="0.000933"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum defined Enum from Array class prevents modification" file="./spec/unit/modules/enum_spec.rb" time="0.000920"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum defined Enum from Array class returns the provided Enum name" file="./spec/unit/modules/enum_spec.rb" time="0.000940"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum defined Enum from Array class #to_s returns the Enum name" file="./spec/unit/modules/enum_spec.rb" time="0.000968"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum defined Enum from Array class #get by integer index returns an enum" file="./spec/unit/modules/enum_spec.rb" time="0.001425"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum defined Enum from Array class #get by string value returns an enum" file="./spec/unit/modules/enum_spec.rb" time="0.001070"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum defined Enum from Array class #get by invalid type raises an error" file="./spec/unit/modules/enum_spec.rb" time="0.000973"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum defined Enum from Array class #get by enum returns an enum" file="./spec/unit/modules/enum_spec.rb" time="0.000975"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum defined Enum from Array class #get by symbol returns an enum" file="./spec/unit/modules/enum_spec.rb" time="0.000908"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum defined Enum from Array class #each yields each channel" file="./spec/unit/modules/enum_spec.rb" time="0.000950"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum defined Enum from Array class #each returns an enumerator" file="./spec/unit/modules/enum_spec.rb" time="0.000888"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum defined Enum from Array class #[] is an alias for get" file="./spec/unit/modules/enum_spec.rb" time="0.001634"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum defined Enum from Array class #size returns the number of enum items" file="./spec/unit/modules/enum_spec.rb" time="0.000924"></testcase>
<testcase classname="spec.unit.modules.enum_spec" name="Ably::Modules::Enum defined Enum from Array class #size has alias #length" file="./spec/unit/modules/enum_spec.rb" time="0.004823"></testcase>
</testsuite>
