spec/unit/models/presence_message_spec.rb in ably-0.8.2 vs spec/unit/models/presence_message_spec.rb in ably-0.8.3
- old
+ new
@@ -7,10 +7,10 @@
subject { Ably::Models::PresenceMessage }
let(:protocol_message_timestamp) { as_since_epoch(Time.now) }
let(:protocol_message) { Ably::Models::ProtocolMessage.new(action: 1, timestamp: protocol_message_timestamp) }
- it_behaves_like 'a model', with_simple_attributes: %w(client_id data encoding) do
+ it_behaves_like 'a model', with_simple_attributes: %w(id client_id data encoding) do
let(:model_args) { [protocol_message] }
end
context '#connection_id attribute' do
let(:protocol_connection_id) { random_str }