<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,7 +3,7 @@ module Garb
     
     def self.login(email, password, opts={})
       @email = email
-      auth_request = AuthenticationRequest.new(email, password)
+      auth_request = AuthenticationRequest.new(email, password, opts)
       @auth_token = auth_request.auth_token(opts)
     end
 </diff>
      <filename>lib/garb/session.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,7 +3,7 @@ module Garb
 
     MAJOR = 0
     MINOR = 3
-    TINY  = 0
+    TINY  = 1
 
     def self.to_s # :nodoc:
       [MAJOR, MINOR, TINY].join('.')</diff>
      <filename>lib/garb/version.rb</filename>
    </modified>
    <modified>
      <diff>@@ -7,17 +7,18 @@ module Garb
       
       should &quot;be able retrieve an auth_token for a user&quot; do
         auth_request = mock {|m| m.expects(:auth_token).with({}).returns('toke') }
-        AuthenticationRequest.expects(:new).with('email', 'password').returns(auth_request)
+        AuthenticationRequest.expects(:new).with('email', 'password', {}).returns(auth_request)
 
         Session.login('email', 'password')
         assert_equal 'toke', Session.auth_token
       end
 
       should &quot;be able retrieve an auth_token for a user with secure ssl&quot; do
-        auth_request = mock {|m| m.expects(:auth_token).with({:secure =&gt; true}).returns('toke') }
-        AuthenticationRequest.expects(:new).with('email', 'password').returns(auth_request)
+        opts = {:secure =&gt; true, :account_type =&gt; 'GOOGLE'}
+        auth_request = mock {|m| m.expects(:auth_token).with(opts).returns('toke') }
+        AuthenticationRequest.expects(:new).with('email', 'password', opts).returns(auth_request)
 
-        Session.login('email', 'password', :secure =&gt; true)
+        Session.login('email', 'password', opts)
         assert_equal 'toke', Session.auth_token
       end
       </diff>
      <filename>test/unit/session_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>cb9e30b1e75603f0d283e7e8641660cef6fee30b</id>
    </parent>
  </parents>
  <author>
    <name>tpitale</name>
    <email>tpitale@gmail.com</email>
  </author>
  <url>http://github.com/vigetlabs/garb/commit/b2ff181ed18b22d96949e3c2650ad90eac5586af</url>
  <id>b2ff181ed18b22d96949e3c2650ad90eac5586af</id>
  <committed-date>2009-10-27T10:10:41-07:00</committed-date>
  <authored-date>2009-10-27T10:10:41-07:00</authored-date>
  <message>tests for option passing to AuthRequest</message>
  <tree>e36edf59761bf4ea454e70ed3f9d8fd8989712d9</tree>
  <committer>
    <name>tpitale</name>
    <email>tpitale@gmail.com</email>
  </committer>
</commit>
