Added check for major.minor.tiny version format.

git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@61 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
This commit is contained in:
Bob Aman 2010-10-12 20:41:14 +00:00
parent 3bd7056e86
commit ecf330f177
1 changed files with 2 additions and 0 deletions

View File

@ -132,6 +132,8 @@ describe Google::APIClient, 'configured for the prediction API' do
Google::APIClient::Service.new('magic', 'v1.1', {}) Google::APIClient::Service.new('magic', 'v1.1', {})
@client.discovered_services << @client.discovered_services <<
Google::APIClient::Service.new('magic', 'v1.10', {}) Google::APIClient::Service.new('magic', 'v1.10', {})
@client.discovered_services <<
Google::APIClient::Service.new('magic', 'v10.0.1', {})
@client.discovered_services << @client.discovered_services <<
Google::APIClient::Service.new('magic', 'v10.1', {}) Google::APIClient::Service.new('magic', 'v10.1', {})
@client.discovered_services << @client.discovered_services <<