<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -16,7 +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'].blank? 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>95ad614951ab8540b25453f5135ad46e106986ba</id>
    </parent>
  </parents>
  <author>
    <name>David Chelimsky</name>
    <email>david@david-chelimskys-macbook-pro.local</email>
  </author>
  <url>http://github.com/dchelimsky/rspec-rails/commit/2cddc904bdfb70bf201123d4fc6731512cde5482</url>
  <id>2cddc904bdfb70bf201123d4fc6731512cde5482</id>
  <committed-date>2008-08-23T13:45:02-07:00</committed-date>
  <authored-date>2008-08-23T13:45:02-07:00</authored-date>
  <message>check for blank Content-Type header before converting it to a Symbol</message>
  <tree>6dc3d2eddac9fb0ad18d0c20f3f295eada2d89a6</tree>
  <committer>
    <name>David Chelimsky</name>
    <email>david@david-chelimskys-macbook-pro.local</email>
  </committer>
</commit>
