diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/puppet/files/puppet-fix-tests-4.7.0.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/puppet/files/puppet-fix-tests-4.7.0.patch')
-rw-r--r-- | app-admin/puppet/files/puppet-fix-tests-4.7.0.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app-admin/puppet/files/puppet-fix-tests-4.7.0.patch b/app-admin/puppet/files/puppet-fix-tests-4.7.0.patch new file mode 100644 index 000000000000..7d62e0c1f786 --- /dev/null +++ b/app-admin/puppet/files/puppet-fix-tests-4.7.0.patch @@ -0,0 +1,18 @@ +--- spec/unit/network/http/api/indirected_routes_spec.rb 2016-10-11 13:24:09.500955469 -0500 ++++ spec/unit/network/http/api/indirected_routes_spec.rb.new 2016-10-11 13:24:00.501700977 -0500 +@@ -139,15 +139,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(not_found_error) +- 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, |