<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -16,6 +16,7 @@ module Spec # :nodoc:
         def matches?(response_or_text, &amp;block)
           if ActionController::TestResponse === response_or_text and
                    response_or_text.headers.key?('Content-Type') and
+                   response_or_text.headers['Content-Type'] and
                    response_or_text.headers['Content-Type'].to_sym == :xml
             @args.unshift(HTML::Document.new(response_or_text.body, false, true).root)           
           elsif String === response_or_text</diff>
      <filename>lib/spec/rails/matchers/assert_select.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>705355b75b7555940a1d49442ffe5ef5ccccd7a7</id>
    </parent>
  </parents>
  <author>
    <name>David Chelimsky</name>
    <email>david@chelimac.local</email>
  </author>
  <url>http://github.com/dchelimsky/rspec-rails/commit/416adcb071c1aec966e16a50db8f2df56c0d0521</url>
  <id>416adcb071c1aec966e16a50db8f2df56c0d0521</id>
  <committed-date>2008-08-17T11:38:04-07:00</committed-date>
  <authored-date>2008-08-17T11:38:04-07:00</authored-date>
  <message>fixed bug created by change in edge-rails sometimes returning nil for headers['Content-Type']</message>
  <tree>d849761c72b834ceecb39a483a6b8444bd7e80be</tree>
  <committer>
    <name>David Chelimsky</name>
    <email>david@chelimac.local</email>
  </committer>
</commit>
