GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Fork of wycats/merb-core
Description: Merb Core: All you need. None you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/auser/merb-core.git
Updates the request spec to account for the new from_xml behaviour
hassox (author)
Thu Mar 06 05:08:26 -0800 2008
commit  06b17f86085411ef7fc5232f2dbb8d3608b49e0d
tree    d8092cc0546761b344145271415ae9b400d023f7
parent  2368f8f95e17f236ce50abdf77b83d7db587abd4
...
67
68
69
70
 
71
72
73
...
67
68
69
 
70
71
72
73
0
@@ -67,7 +67,7 @@ describe Merb::Request, " query and body params" do
0
   it "should support XML params" do
0
     request = fake_request({:content_type => "application/xml"}, :req => %{<foo bar="baz"><baz/></foo>})
0
     request.stub!(:route_params).and_return({})
0
- request.params.should == {"foo" => {"baz" => {}, "bar" => "baz"}}
0
+ request.params.should == {"foo" => {"baz" => nil, "bar" => "baz"}}
0
   end
0
   
0
 end

Comments

    No one has commented yet.