[Bps-public-commit] r18318 - in Net-Google-Code/branches/write: .

sunnavy at bestpractical.com sunnavy at bestpractical.com
Tue Feb 10 07:45:51 EST 2009


Author: sunnavy
Date: Tue Feb 10 07:45:47 2009
New Revision: 18318

Modified:
   Net-Google-Code/branches/write/   (props changed)
   Net-Google-Code/branches/write/lib/Net/Google/Code/Role/Authentication.pm

Log:
 r19747 at sunnavys-mb:  sunnavy | 2009-02-10 20:19:45 +0800
 more loose check the sign in/out stuff, google sucks


Modified: Net-Google-Code/branches/write/lib/Net/Google/Code/Role/Authentication.pm
==============================================================================
--- Net-Google-Code/branches/write/lib/Net/Google/Code/Role/Authentication.pm	(original)
+++ Net-Google-Code/branches/write/lib/Net/Google/Code/Role/Authentication.pm	Tue Feb 10 07:45:47 2009
@@ -41,7 +41,6 @@
     die 'sign in failed to google code'
       unless ( $already_in_google && $self->mech->uri =~ /CheckCookie/ )
       || !$already_in_google && $self->html_contains(
-        look_down => [ id => 'gaia' ],
         as_text   => qr/Sign out/i,
       );
 
@@ -55,7 +54,6 @@
       || $self->mech->get('https://www.google.com/accounts/Logout');
     die 'sign out failed to google code'
       unless $self->html_contains(
-        look_down => [ id => 'gaia' ],
         as_text   => qr/Sign in/i,
       );
 
@@ -76,7 +74,6 @@
     return 1
       if $self->mech->content
           && $self->html_contains(
-              look_down => [ id => 'gaia' ],
               as_text   => qr/Sign out/,
           );
     return;



More information about the Bps-public-commit mailing list