spec/unit/rest/client_spec.rb in ably-1.0.4 vs spec/unit/rest/client_spec.rb in ably-1.0.5
- old
+ new
@@ -48,6 +48,13 @@
end
end
end
end
end
+
+ context 'request_id generation' do
+ let(:client_options) { { key: 'appid.keyuid:keysecret', add_request_ids: true } }
+ it 'includes request_id in URL' do
+ expect(subject.add_request_ids).to eql(true)
+ end
+ end
end