From e214ac57f377bc92bf2b334ee20bdfd498c84e59 Mon Sep 17 00:00:00 2001 From: Steven Bazyl Date: Thu, 25 Oct 2012 14:25:54 -0700 Subject: [PATCH] Fix failing tests --- spec/google/api_client/result_spec.rb | 10 ++++------ spec/spec_helper.rb | 1 - 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/spec/google/api_client/result_spec.rb b/spec/google/api_client/result_spec.rb index dea1bc154..23ffeac37 100644 --- a/spec/google/api_client/result_spec.rb +++ b/spec/google/api_client/result_spec.rb @@ -61,7 +61,7 @@ describe Google::APIClient::Result do "nextLink": "https://www.googleapis.com/plus/v1/people/foo/activities/public?maxResults=20&pageToken=NEXT%2BPAGE%2BTOKEN", "title": "Plus Public Activity Feed for ", "updated": "2012-04-23T00:00:00.000Z", - "id": "tag:google.com,2010:/plus/people/foo/activities/public", + "id": "123456790", "items": [] } END_OF_STRING @@ -103,8 +103,7 @@ describe Google::APIClient::Result do 'https://www.googleapis.com/plus/v1/people/foo/activities/public?' + 'maxResults=20&pageToken=NEXT%2BPAGE%2BTOKEN' @result.data.title.should == 'Plus Public Activity Feed for ' - @result.data.id.should == - 'tag:google.com,2010:/plus/people/foo/activities/public' + @result.data.id.should == 123456790 @result.data.items.should be_empty end end @@ -119,7 +118,7 @@ describe Google::APIClient::Result do "selfLink": "https://www.googleapis.com/plus/v1/people/foo/activities/public?", "title": "Plus Public Activity Feed for ", "updated": "2012-04-23T00:00:00.000Z", - "id": "tag:google.com,2010:/plus/people/foo/activities/public", + "id": "123456790", "items": [] } END_OF_STRING @@ -144,8 +143,7 @@ describe Google::APIClient::Result do @result.data.selfLink.should == 'https://www.googleapis.com/plus/v1/people/foo/activities/public?' @result.data.title.should == 'Plus Public Activity Feed for ' - @result.data.id.should == - 'tag:google.com,2010:/plus/people/foo/activities/public' + @result.data.id.should == 123456790 @result.data.items.should be_empty end end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 57612f477..133fed609 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -3,7 +3,6 @@ $LOAD_PATH.uniq! require 'rspec' require 'faraday' -require 'faraday/adapter/test' module Faraday class Connection