[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 2.6.1rc1-141-gcdb2b90
James Turnbull
james at lovedthanlost.net
Mon Aug 16 12:47:42 UTC 2010
The following commit has been merged in the upstream branch:
commit 9d0d94c27174bc25ba823028a612f8fa04dd847b
Author: Nick Lewis <nick at puppetlabs.com>
Date: Wed Jun 16 16:21:21 2010 -0700
[#3804] Fixed one failing spec for RackREST
A new version of Rack::MockRequest automatically uppercases the HTTP
method, expecting that any method passed in should properly be uppercase.
e.g. GET, PUT, POST
This behavior is on line 81 of Rack::MockRequest:
http://rack.rubyforge.org/doc/classes/Rack/MockRequest.src/M000230.html
Reviewed by Matt Robinson
diff --git a/spec/unit/network/http/rack/rest.rb b/spec/unit/network/http/rack/rest.rb
index e916712..6eb73e5 100755
--- a/spec/unit/network/http/rack/rest.rb
+++ b/spec/unit/network/http/rack/rest.rb
@@ -46,8 +46,8 @@ describe "Puppet::Network::HTTP::RackREST" do
end
it "should use the REQUEST_METHOD as the http method" do
- req = mk_req('/', :method => 'mymethod')
- @handler.http_method(req).should == "mymethod"
+ req = mk_req('/', :method => 'MYMETHOD')
+ @handler.http_method(req).should == "MYMETHOD"
end
it "should return the request path as the path" do
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list