Replace Object#should_receive with expect(object).to receive