lib/submodules/ably-ruby/spec/acceptance/realtime/channel_spec.rb in ably-rest-1.1.4.rc vs lib/submodules/ably-ruby/spec/acceptance/realtime/channel_spec.rb in ably-rest-1.1.4

- old
+ new

@@ -81,9 +81,19 @@ expect(channel.state).to eq(:attached) stop_reactor end end + it 'sets attach_serial property after the attachment (#RTL15a)' do + expect(channel.properties.attach_serial).to be_nil + + channel.attach + channel.on(:attached) do + expect(channel.properties.attach_serial).to_not be_nil + stop_reactor + end + end + it 'sends an ATTACH and waits for an ATTACHED (#RTL4c)' do connection.once(:connected) do attach_count = 0 attached_count = 0 test_complete = false