@@ -238,17 +238,17 @@ def adapter(arg)
238238 it 'logs tokens' do
239239 allow ( Koala . config ) . to receive ( :mask_tokens ) { false }
240240
241- expect ( Koala ::Utils ) . to receive ( :debug ) . with ( 'STARTED => GET: /foo params: {"an"=> :arg, "access_token"=> "myvisbleaccesstoken"}' )
242- expect ( Koala ::Utils ) . to receive ( :debug ) . with ( 'FINISHED => GET: /foo params: {"an"=> :arg, "access_token"=> "myvisbleaccesstoken"}' )
241+ expect ( Koala ::Utils ) . to receive ( :debug ) . with ( 'STARTED => GET: /foo params: {"an" => :arg, "access_token" => "myvisbleaccesstoken"}' )
242+ expect ( Koala ::Utils ) . to receive ( :debug ) . with ( 'FINISHED => GET: /foo params: {"an" => :arg, "access_token" => "myvisbleaccesstoken"}' )
243243
244244 Koala ::HTTPService . make_request ( request )
245245 end
246246
247247 it 'doesnt log tokens' do
248248 allow ( Koala . config ) . to receive ( :mask_tokens ) { true }
249249
250- expect ( Koala ::Utils ) . to receive ( :debug ) . with ( 'STARTED => GET: /foo params: {"an"=> :arg, "access_token"=> "myvisbleac*****token"}' )
251- expect ( Koala ::Utils ) . to receive ( :debug ) . with ( 'FINISHED => GET: /foo params: {"an"=> :arg, "access_token"=> "myvisbleac*****token"}' )
250+ expect ( Koala ::Utils ) . to receive ( :debug ) . with ( 'STARTED => GET: /foo params: {"an" => :arg, "access_token" => "myvisbleac*****token"}' )
251+ expect ( Koala ::Utils ) . to receive ( :debug ) . with ( 'FINISHED => GET: /foo params: {"an" => :arg, "access_token" => "myvisbleac*****token"}' )
252252
253253 Koala ::HTTPService . make_request ( request )
254254 end
@@ -258,8 +258,8 @@ def adapter(arg)
258258
259259 allow ( Koala . config ) . to receive ( :mask_tokens ) { true }
260260
261- expect ( Koala ::Utils ) . to receive ( :debug ) . with ( 'STARTED => GET: /debug_token params: {"input_token"=> "myvisiblea*****token", "access_token"=> "myvisiblea*****token"}' )
262- expect ( Koala ::Utils ) . to receive ( :debug ) . with ( 'FINISHED => GET: /debug_token params: {"input_token"=> "myvisiblea*****token", "access_token"=> "myvisiblea*****token"}' )
261+ expect ( Koala ::Utils ) . to receive ( :debug ) . with ( 'STARTED => GET: /debug_token params: {"input_token" => "myvisiblea*****token", "access_token" => "myvisiblea*****token"}' )
262+ expect ( Koala ::Utils ) . to receive ( :debug ) . with ( 'FINISHED => GET: /debug_token params: {"input_token" => "myvisiblea*****token", "access_token" => "myvisiblea*****token"}' )
263263
264264 Koala ::HTTPService . make_request ( request )
265265 end
0 commit comments