public
Rubygem
Description: Makes http fun! Also, makes consuming restful web services dead easy.
Homepage:
Clone URL: git://github.com/jnunemaker/httparty.git
Click here to lend your support to: httparty and make a donation at www.pledgie.com !
Added spec for HTTParty::Request#format method that I added in last commit.
jnunemaker (author)
Sat Dec 06 16:45:50 -0800 2008
commit  5ba768e29ab19edebd2122b4bd0c39de536b97d6
tree    d283d4707aa0d238199b7787b0300644becd6454
parent  aa09eb4c656ea124f2ce75eaefc4ffdaea5fe74c
...
22
23
24
 
 
 
 
 
 
25
26
27
...
22
23
24
25
26
27
28
29
30
31
32
33
0
@@ -22,6 +22,12 @@ describe HTTParty::Request do
0
     end
0
   end
0
   
0
+  describe "#format" do
0
+    it "should return the correct parsing format" do
0
+      @request.format.should == :xml
0
+    end
0
+  end
0
+  
0
   describe "uri" do
0
     it "should be normalized" do
0
       request = HTTParty::Request.new(Net::HTTP::Get, '', :base_uri => 'api.foo.com')

Comments