File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 14
14
expect ( SparkApi . api_key ) . to match ( "my_api_key" )
15
15
expect ( SparkApi . timeout ) . to eq ( 5 )
16
16
expect ( SparkApi . request_id_chain ) . to be_nil
17
+ expect ( SparkApi . user_ip_address ) . to be_nil
17
18
expect ( SparkApi . middleware ) . to eq ( 'spark_api' )
18
19
end
19
20
end
26
27
:auth_endpoint => "https://login.wade.dev.fbsdata.com" ,
27
28
:endpoint => "http://api.wade.dev.fbsdata.com" ,
28
29
:timeout => 15 ,
29
- :request_id_chain => 'foobar' )
30
+ :request_id_chain => 'foobar' ,
31
+ :user_ip_address => 'barfoo' )
30
32
31
33
expect ( client . api_key ) . to match ( "key_of_wade" )
32
34
expect ( client . api_secret ) . to match ( "TopSecret" )
36
38
expect ( client . version ) . to match ( "v1" )
37
39
expect ( client . timeout ) . to eq ( 15 )
38
40
expect ( client . request_id_chain ) . to eq ( 'foobar' )
41
+ expect ( client . user_ip_address ) . to eq ( 'barfoo' )
39
42
end
40
43
41
44
it "should allow unverified ssl certificates when verification is off" do
You can’t perform that action at this time.
0 commit comments