Merge branch 'master' of https://github.com/google/google-api-ruby-client into new_programming_interface
This commit is contained in:
commit
00f66633e0
|
@ -53,7 +53,7 @@ describe Google::APIClient::BatchRequest do
|
|||
@call1 = {
|
||||
:api_method => @discovery.apis.get_rest,
|
||||
:parameters => {
|
||||
'api' => 'adsense',
|
||||
'api' => 'plus',
|
||||
'version' => 'v1'
|
||||
}
|
||||
}
|
||||
|
@ -118,7 +118,7 @@ describe Google::APIClient::BatchRequest do
|
|||
@call1 = {
|
||||
:api_method => @discovery.apis.get_rest,
|
||||
:parameters => {
|
||||
'api' => 'adsense',
|
||||
'api' => 'plus',
|
||||
'version' => 'v1'
|
||||
}
|
||||
}
|
||||
|
|
|
@ -474,12 +474,12 @@ describe Google::APIClient do
|
|||
|
||||
it 'should find methods that are in the discovery document' do
|
||||
CLIENT.discovered_method(
|
||||
'adsense.reports.generate', 'adsense'
|
||||
'adsense.reports.generate', 'adsense', 'v1.3'
|
||||
).name.should == 'generate'
|
||||
end
|
||||
|
||||
it 'should not find methods that are not in the discovery document' do
|
||||
CLIENT.discovered_method('adsense.bogus', 'adsense').should == nil
|
||||
CLIENT.discovered_method('adsense.bogus', 'adsense', 'v1.3').should == nil
|
||||
end
|
||||
|
||||
it 'should generate requests against the correct URIs' do
|
||||
|
|
Loading…
Reference in New Issue