spec/support/test_app.rb in ably-0.7.0 vs spec/support/test_app.rb in ably-0.7.1
- old
+ new
@@ -92,9 +92,13 @@
def host
sandbox_client.endpoint.host
end
+ def realtime_host
+ host.gsub(/rest/, 'realtime')
+ end
+
private
def sandbox_client
@sandbox_client ||= Ably::Rest::Client.new(api_key: 'app.key:secret', tls: true, environment: environment)
end
end