Gentoo Archives: gentoo-commits

From: "Matt Thode (prometheanfire)" <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/puppet/files: puppet-fix-tests-4.x.patch
Date: Fri, 24 Jul 2015 00:24:26
Message-Id: 20150724002419.B6863C3@oystercatcher.gentoo.org
1 prometheanfire 15/07/24 00:24:19
2
3 Added: puppet-fix-tests-4.x.patch
4 Log:
5 adding some test deps, also, restricting tests because test deps are not keyworded
6
7 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x33ED3FD25AFC78BA)
8
9 Revision Changes Path
10 1.1 app-admin/puppet/files/puppet-fix-tests-4.x.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/puppet/files/puppet-fix-tests-4.x.patch?rev=1.1&view=markup
13 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
14
15 Index: puppet-fix-tests-4.x.patch
16 ===================================================================
17 --- ./spec/unit/network/http/api/indirected_routes_spec.rb 2015-07-21 12:09:09.000000000 -0500
18 +++ ./spec/unit/network/http/api/indirected_routes_spec.rb.new 2015-07-23 18:33:22.839914116 -0500
19 @@ -144,15 +144,6 @@
20 :env))))
21 handler.uri2indirection("GET", "#{master_url_prefix}/node/bar", params)
22 end
23 -
24 - it "should not pass through an environment to check_authorization and fail if the environment is unknown" do
25 - handler.expects(:check_authorization).with(anything,
26 - anything,
27 - Not(has_entry(:environment)))
28 - expect(lambda { handler.uri2indirection("GET",
29 - "#{master_url_prefix}/node/bar",
30 - {:environment => 'bogus'}) }).to raise_error(ArgumentError)
31 - end
32 end
33
34 describe "when converting a request into a URI" do