Updating code to consistent coding style.

git-svn-id: https://google-api-ruby-client.googlecode.com/svn/trunk@15 c1d61fac-ed7f-fcc1-18f7-ff78120a04ef
This commit is contained in:
bobaman@google.com committed 2010-08-17 01:21:17 +00:00
1 parent 6331247e7a
commit e6ba0f6860
15 files changed
+168 -161

No files matched your search

@@ -12,25 +12,25 @@
# See the License for the specific language governing permissions and
# limitations under the License.
require "spec_helper"
require 'spec_helper'
require "oauth"
require "google/api_client/discovery/discovery"
require 'oauth'
require 'google/api_client/discovery/discovery'
describe Google::APIClient::Discovery, "configured for use with a service" do
describe Google::APIClient::Discovery, 'configured for use with a service' do
before do
@discovery = Google::APIClient::Discovery.new(:service => :magic)
end
it "should have the correct discovery document URI" do
it 'should have the correct discovery document URI' do
@discovery.discovery_uri.should ==
"http://www.googleapis.com/discovery/0.1/describe" +
"?api=magic&apiVersion=1.0"
'http://www.googleapis.com/discovery/0.1/describe' +
'?api=magic&apiVersion=1.0'
end
end
describe Google::APIClient::Discovery,
"configured for use with a specific service version" do
'configured for use with a specific service version' do
before do
@discovery = Google::APIClient::Discovery.new(
:service => :magic,
@@ -38,9 +38,9 @@ describe Google::APIClient::Discovery,
)
end
it "should have the correct discovery document URI" do
it 'should have the correct discovery document URI' do
@discovery.discovery_uri.should ==
"http://www.googleapis.com/discovery/0.1/describe" +
"?api=magic&apiVersion=42.0"
'http://www.googleapis.com/discovery/0.1/describe' +
'?api=magic&apiVersion=42.0'
end
end