Closed voxik closed 3 years ago
Thanks @voxik. I have no special attachment to rr
(I chose it eons ago because at the time it seemed more expressive, but RSpec mocks seem to have come a long way since then), so this seems like a fine change.
I'm going to grab that CI commit and try it separately. Thanks.
Ups, that was close. I was fighting with the test case you fixed along the way and pushed commit trying to enable GH actions to execute the test suite right at the time you have merged this, ufff :) Thx for merging. I'll try to open another PR trying to add the CI
Don't worry about it, I already grabbed it and merged it via e7817060e761f7e07. First time I have ever merged "the same PR" twice... 😂
You set it to run push
, and pull_request
, but it didn't seem to run when I pushed just now. Will see if it runs on next PR or push.
Since RR gem was updated in Fedora from 1.1.2 to 1.2.1, the test suite fails with errors such as:
This seems to be due some backward incompatible changes in RR together with RR probably being incompatible with RSpec 3.x.
Therefore, I have used rr-to-rspec-converter with a several small tweaks and converted the test suite to use rspec-mocks. Looking at the result, I don't find the output too different or harder to read, therefore I propose to change the mock framework from RR to rspec-mocks. This allows to reduce the dependency chain, which is always good thing IMO.