Latest RSpec issues?
by Vít Ondruch
Dear Mamoru,
Could you please check the following two packages which recently started
to fail?
https://koschei.fedoraproject.org/package/rubygem-webmock?collection=f36
https://koschei.fedoraproject.org/package/rubygem-websocket-extensions?co...
I suspect that this is related to the RSpec update, but the errors are
quite strange on the first look:
~~~
1) WebMock::RequestSignature initialization assigns normalized headers
Failure/Error: @headers =
WebMock::Util::Headers.normalize_headers(headers)
#<WebMock::Util::Headers (class)> received :normalize_headers
with unexpected arguments
expected: ({"A"=>"a"})
got: ({"A"=>"a"})
# ./lib/webmock/request_signature.rb:25:in `headers='
# ./lib/webmock/request_signature.rb:49:in `assign_options'
# ./lib/webmock/request_signature.rb:11:in `initialize'
# ./spec/unit/request_signature_spec.rb:23:in `new'
# ./spec/unit/request_signature_spec.rb:23:in `block (3 levels) in
<top (required)>'
# ./lib/webmock/rspec.rb:37:in `block (2 levels) in <top (required)>'
~~~
Thx a lot
Vít
P.S. Sorry for not being more helpful, I have to spent some time with
CentOS Stream 9 to get Ruby into shape there, especially the problematic
SystemTap support [1].
[1] https://bugs.ruby-lang.org/issues/18257
4 months, 2 weeks