Use HTTPClient instead of Net::HTTP

This commit is contained in:
Steve Bazyl committed 2015-12-18 14:37:21 -08:00
1 parent c102c571e0
commit e8481dd14d
8 files changed
+126 -14

No files matched your search

+1
View File
@@ -15,6 +15,7 @@ RSpec.describe Google::Apis::AdsenseV1_4, :if => run_integration_tests? do
end
it 'should download a report with multiple dimensions' do
pending "Not enabled for test account"
report = @adsense.generate_report( Date.today.to_s, Date.today.to_s, dimension: ["DATE", "AD_UNIT_NAME"] )
report_header_names = report.headers.map { |h| h.name }
+3 -3
View File
@@ -1,10 +1,10 @@
require 'spec_helper'
require 'google/apis/pubsub_v1beta2'
require 'google/apis/pubsub_v1'
require 'googleauth'
Pubsub = Google::Apis::PubsubV1beta2
Pubsub = Google::Apis::PubsubV1
RSpec.describe Google::Apis::PubsubV1beta2, :if => run_integration_tests? do
RSpec.describe Google::Apis::PubsubV1, :if => run_integration_tests? do
before(:context) do
WebMock.allow_net_connect!