We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 597e0f7 + 015571e commit 37fc54dCopy full SHA for 37fc54d
test/integration/compute/core_compute/test_client_options.rb
@@ -0,0 +1,12 @@
1
+require "helpers/integration_test_helper"
2
+
3
+class TestComputeClient < FogIntegrationTest
4
+ def test_client_options
5
+ # XXX This is a very rudimentary test checking that proxy option is applied
6
+ client_options = { proxy_url: "https://user:password@host:8080" }
7
+ connection = Fog::Compute::Google.new(google_client_options: client_options)
8
9
+ err = assert_raises(ArgumentError) { connection.servers.all }
10
+ assert_match(/unsupported proxy/, err.message)
11
+ end
12
+end
0 commit comments