summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2016-04-28 09:09:32 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2016-04-28 09:10:00 -0500
commit67dd528c748f33ec564fc50b409361de6bbe4a1c (patch)
treec4b48e95094e81239f1d71ca6f70102ddd82fa8d /app-admin/puppet/files
parentx11-libs/libdrm: version bump (diff)
downloadgentoo-67dd528c748f33ec564fc50b409361de6bbe4a1c.tar.gz
gentoo-67dd528c748f33ec564fc50b409361de6bbe4a1c.tar.bz2
gentoo-67dd528c748f33ec564fc50b409361de6bbe4a1c.zip
app-admin/puppet: fix patch for bug 581428
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-admin/puppet/files')
-rw-r--r--app-admin/puppet/files/puppet-fix-tests-4.4.2.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/app-admin/puppet/files/puppet-fix-tests-4.4.2.patch b/app-admin/puppet/files/puppet-fix-tests-4.4.2.patch
new file mode 100644
index 000000000000..b77c1cea39c4
--- /dev/null
+++ b/app-admin/puppet/files/puppet-fix-tests-4.4.2.patch
@@ -0,0 +1,18 @@
+--- spec/unit/network/http/api/indirected_routes_spec.rb 2016-04-22 17:15:56.000000000 -0500
++++ spec/unit/network/http/api/indirected_routes_spec.rb.new 2016-04-28 09:06:38.133311369 -0500
+@@ -140,15 +140,6 @@
+ indirection, _, _, _ = handler.uri2indirection("GET", uri_escaped, 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
+-
+ it "should not URI unescape the indirection key as passed through to a call to check_authorization" do
+ handler.expects(:check_authorization).with(anything,
+ anything,