diff options
Diffstat (limited to 'community/ruby-pathutil/tests-skip-broken.patch')
-rw-r--r-- | community/ruby-pathutil/tests-skip-broken.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/community/ruby-pathutil/tests-skip-broken.patch b/community/ruby-pathutil/tests-skip-broken.patch new file mode 100644 index 00000000000..db7cd63b635 --- /dev/null +++ b/community/ruby-pathutil/tests-skip-broken.patch @@ -0,0 +1,50 @@ + 1) Pathutil#glob should chdir before running the glob + Failure/Error: + expect(subject).to receive( + :chdir + ) + + ArgumentError: + Cannot proxy frozen objects, rspec-mocks relies on proxies for method stubbing and expectations. + # ./spec/tests/lib/pathutil_spec.rb:661:in `block (4 levels) in <top (required)>' + + 1) Pathutil should have untaint + Failure/Error: + expect(described_class).to have_method( + method + ) + + expected Pathutil to have method :untaint + # ./spec/tests/lib/pathutil_spec.rb:11:in `block (3 levels) in <top (required)>' +--- a/spec/tests/lib/pathutil_spec.rb ++++ b/spec/tests/lib/pathutil_spec.rb +@@ -6,13 +6,13 @@ + require "yaml" + + describe Pathutil do +- (Pathname.instance_methods - Object.instance_methods).each do |method| +- it "should have #{method}" do +- expect(described_class).to have_method( +- method +- ) +- end +- end ++ #(Pathname.instance_methods - Object.instance_methods).each do |method| ++ # it "should have #{method}" do ++ # expect(described_class).to have_method( ++ # method ++ # ) ++ # end ++ #end + + # + +@@ -657,7 +657,7 @@ + + describe "#glob" do + context do +- it "should chdir before running the glob" do ++ xit "should chdir before running the glob" do + expect(subject).to receive( + :chdir + ) |