You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
context"when `out` is NOT passed"doincludeConvenientService::RSpec::Helpers::StubServiceit"defaults to `stdout`"dostub_service(described_class::Services::Print).toreturn_successexpect{described_class.print(text)}.todelegate_to(described_class::Services::Print,:result).with_arguments(text: text,out: $stdout)endend
What is the issue?
stub_service
does NOT mock in combination withdelegate_to
.When it happens? How to reproduce it?
Try to uncomment the spec in cowsay_spec.rb.
Then run specs.
Where it happens?
How big is the damage from it?
Why it happens?
allow ... and_wrap_original
insidedelegate_to
overridesallow ... and_wrap_original
insidestub_service
.and_wrap_original
is expected behavior.What can be done to resolve it?
What is the complexity of a possible fix?
The text was updated successfully, but these errors were encountered: