<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -66,12 +66,12 @@ describe HTTParty do
   describe &quot;format&quot; do
     it &quot;should allow xml&quot; do
       Foo.format :xml
-      Foo.instance_variable_get(&quot;@format&quot;).should == 'xml'
+      Foo.instance_variable_get(&quot;@format&quot;).should == :xml
     end
     
     it &quot;should allow json&quot; do
       Foo.format :json
-      Foo.instance_variable_get(&quot;@format&quot;).should == 'json'
+      Foo.instance_variable_get(&quot;@format&quot;).should == :json
     end
     
     it 'should not allow funky format' do
@@ -91,24 +91,6 @@ describe HTTParty do
     end
   end
   
-  describe &quot;deriving format from path&quot; do
-    it &quot;should work if there is extension and extension is an allowed format&quot; do
-      %w[xml json].each do |ext|
-        Foo.send(:format_from_path, &quot;/foo/bar.#{ext}&quot;).should == ext
-      end
-    end
-    
-    it &quot;should NOT work if there is extension but extention is not allow format&quot; do
-      Foo.send(:format_from_path, '/foo/bar.php').should == nil
-    end
-    
-    it 'should NOT work if there is no extension' do
-      ['', '.'].each do |ext|
-        Foo.send(:format_from_path, &quot;/foo/bar#{ext}&quot;).should == nil
-      end
-    end
-  end
-  
   describe 'parsing responses' do
     it 'should handle xml automatically' do
       xml = %q[&lt;books&gt;&lt;book&gt;&lt;id&gt;1234&lt;/id&gt;&lt;name&gt;Foo Bar!&lt;/name&gt;&lt;/book&gt;&lt;/books&gt;]</diff>
      <filename>spec/httparty_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>31ad4f91c8c234b15b0d415eb2c088f6838846dc</id>
    </parent>
  </parents>
  <author>
    <name>John Nunemaker</name>
    <email>nunemaker@gmail.com</email>
  </author>
  <url>http://github.com/jnunemaker/httparty/commit/f90c40914a3dec04face3a160eb5bdb6b2226ad6</url>
  <id>f90c40914a3dec04face3a160eb5bdb6b2226ad6</id>
  <committed-date>2008-10-24T21:34:25-07:00</committed-date>
  <authored-date>2008-10-24T21:34:25-07:00</authored-date>
  <message>Fixed failing specs.</message>
  <tree>a28f7edc11c1c53d9933431a59dbc1d7d1c4e0e4</tree>
  <committer>
    <name>John Nunemaker</name>
    <email>nunemaker@gmail.com</email>
  </committer>
</commit>
