spec/support/test_app.rb in ably-1.1.7 vs spec/support/test_app.rb in ably-1.1.8

- old
+ new

@@ -57,10 +57,10 @@ def delete return unless TestApp.instance_variable_get('@singleton__instance__') url = "#{sandbox_client.endpoint}/apps/#{app_id}" - basic_auth = Base64.encode64(api_key).chomp + basic_auth = Base64.urlsafe_encode64(api_key).chomp headers = { "Authorization" => "Basic #{basic_auth}" } Faraday.delete(url, nil, headers) end