mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
20 lines
662 B
Diff
20 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
|
|
)
|