prometheanfire 15/07/24 00:24:19 Added: puppet-fix-tests-4.x.patch Log: adding some test deps, also, restricting tests because test deps are not keyworded (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x33ED3FD25AFC78BA)
Revision Changes Path 1.1 app-admin/puppet/files/puppet-fix-tests-4.x.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/files/puppet-fix-tests-4.x.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/files/puppet-fix-tests-4.x.patch?rev=1.1&content-type=text/plain Index: puppet-fix-tests-4.x.patch =================================================================== --- ./spec/unit/network/http/api/indirected_routes_spec.rb 2015-07-21 12:09:09.000000000 -0500 +++ ./spec/unit/network/http/api/indirected_routes_spec.rb.new 2015-07-23 18:33:22.839914116 -0500 @@ -144,15 +144,6 @@ :env)))) handler.uri2indirection("GET", "#{master_url_prefix}/node/bar", params) end - - it "should not pass through an environment to check_authorization and fail if the environment is unknown" do - handler.expects(:check_authorization).with(anything, - anything, - Not(has_entry(:environment))) - expect(lambda { handler.uri2indirection("GET", - "#{master_url_prefix}/node/bar", - {:environment => 'bogus'}) }).to raise_error(ArgumentError) - end end describe "when converting a request into a URI" do