<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -91,6 +91,7 @@ module ActionController #:nodoc:
       def follow_redirect_with_headers(h = {})
         raise &quot;Not a redirect! #{@status} #{@status_message}&quot; unless redirect?
 
+        h = Hash.new if h.nil?
         h['HTTP_REFERER'] = request.url
 
         location = headers[&quot;location&quot;]</diff>
      <filename>lib/webrat/rails.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2562942b6db665ee171bb15b907fdb4ab6ab2bf7</id>
    </parent>
  </parents>
  <author>
    <name>Kieran Pilkington</name>
    <email>kieran@katipo.co.nz</email>
  </author>
  <url>http://github.com/brynary/webrat/commit/0938c6dafc68d8dca4c1e221680f62128079499e</url>
  <id>0938c6dafc68d8dca4c1e221680f62128079499e</id>
  <committed-date>2008-12-29T16:27:30-08:00</committed-date>
  <authored-date>2008-12-29T14:44:54-08:00</authored-date>
  <message>bugfix: when h was nil (which it was for all my tests), everyone would fail with nil.[]= errors. Making sure we at least have a blank hash fixes this.</message>
  <tree>aeaee1a68b2c01d33cbc64f158d94149bbff2d3f</tree>
  <committer>
    <name>Josh Knowles</name>
    <email>joshknowles@gmail.com</email>
  </committer>
</commit>
