Remove support for Ruby < 3.1 and Rails < 7.0 #8
Annotations
5 errors and 1 warning
spec/lib/coach/handler_spec.rb#L31
Coach::Handler#call with multiple middleware invokes all middleware in the chain
Failure/Error: expect(result).to eq(%w[A{} B{} Terminal{:handler=>true}])
expected: ["A{}", "B{}", "Terminal{:handler=>true}"]
got: ["A{}", "B{}", "Terminal{handler: true}"]
(compared using ==)
|
spec/lib/coach/handler_spec.rb#L63
Coach::Handler#call with multiple middleware lazy-loading the middleware calls through the middleware chain
Failure/Error: expect(result).to eq(%w[A{} B{} Terminal{:handler=>true}])
expected: ["A{}", "B{}", "Terminal{:handler=>true}"]
got: ["A{}", "B{}", "Terminal{handler: true}"]
(compared using ==)
|
spec/lib/coach/handler_spec.rb#L216
Coach::Handler#build_request_chain sets up the chain correctly, calling each item in the correct order
Failure/Error:
expect(handler.build_request_chain(sequence, {}).call).
to eq(%w[A{} B{:b=>true} Terminal{}])
expected: ["A{}", "B{:b=>true}", "Terminal{}"]
got: ["A{}", "B{b: true}", "Terminal{}"]
(compared using ==)
|
spec/lib/coach/handler_spec.rb#L227
Coach::Handler#build_request_chain with inheriting config calls lambda with parent middlewares config
Failure/Error:
expect(handler.build_request_chain(sequence, {}).call).
to eq(%w[A{} C{:b=>true} D{} B{:b=>true} Terminal{}])
expected: ["A{}", "C{:b=>true}", "D{}", "B{:b=>true}", "Terminal{}"]
got: ["A{}", "C{b: true}", "D{}", "B{b: true}", "Terminal{}"]
(compared using ==)
|
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
The logs for this run have expired and are no longer available.
Loading