This conversion is done by Transpec 1.10.4 with the following command:
transpec
* 39 conversions
from: obj.should
to: expect(obj).to
* 22 conversions
from: == expected
to: eq(expected)
* 18 conversions
from: obj.should_receive(:message)
to: expect(obj).to receive(:message)
* 13 conversions
from: obj.stub(:message)
to: allow(obj).to receive(:message)
* 11 conversions
from: obj.should_not
to: expect(obj).not_to
* 5 conversions
from: =~ /pattern/
to: match(/pattern/)
* 2 conversions
from: obj.should_not_receive(:message)
to: expect(obj).not_to receive(:message)
22 KiB
22 KiB