aports/community/ruby-pathutil/tests-skip-broken.patch
Jakub Jirutka 27f1e437af community/ruby-pathutil: move from testing
Needed for jekyll.
2021-10-22 00:59:48 +02:00

21 lines
662 B
Diff

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)>'
--- a/spec/tests/lib/pathutil_spec.rb
+++ b/spec/tests/lib/pathutil_spec.rb
@@ -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
)