G+ API changed schema :(
authorSteven Bazyl <sqrrrl@gmail.com>
Mon, 29 Oct 2012 22:46:20 +0000 (15:46 -0700)
committerSteven Bazyl <sqrrrl@gmail.com>
Mon, 29 Oct 2012 22:46:20 +0000 (15:46 -0700)
spec/google/api_client/result_spec.rb

index 23ffeac37d1a97935f3543d7ec2087a08e6957ac..a442f51be3cb1f780f436893f413fcd7e7c99853 100644 (file)
@@ -103,7 +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 == 123456790
+        @result.data.id.should == "123456790"
         @result.data.items.should be_empty
       end
     end
@@ -143,7 +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 == 123456790
+        @result.data.id.should == "123456790"
         @result.data.items.should be_empty
       end
     end