spec/integration/hawkular_client_spec.rb in hawkular-client-2.0.0 vs spec/integration/hawkular_client_spec.rb in hawkular-client-2.1.0
- old
+ new
@@ -186,10 +186,10 @@
operationName: 'Redeploy',
resourcePath: path.to_s
}
actual_data = {}
- client = Hawkular::Operations::OperationsClient.new(credentials: @creds)
+ client = Hawkular::Operations::OperationsClient.new(entrypoint: 'http://localhost:8080', credentials: @creds)
client.invoke_generic_operation(redeploy) do |on|
on.success do |data|
actual_data[:data] = data
end
on.failure do |error|