spec/support/test_app.rb in ably-0.6.2 vs spec/support/test_app.rb in ably-0.7.0
- old
+ new
@@ -88,9 +88,13 @@
response = Faraday.post(url, APP_SPEC.to_json, headers)
@attributes = JSON.parse(response.body)
end
+ def host
+ sandbox_client.endpoint.host
+ end
+
private
def sandbox_client
@sandbox_client ||= Ably::Rest::Client.new(api_key: 'app.key:secret', tls: true, environment: environment)
end
end