79773668

Date: 2025-09-24 11:45:54
Score: 1.5
Natty:
Report link

Thank you, solution of @Sovoboys works for me.

Here is my variant:

allow(Resolv).to receive(:getaddresses).and_return(['8.8.8.8'])
stub_request(:get, /http:\/\/.+/).to_return(body: file, status: 200)
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1): works for me
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Sovoboys
  • Low reputation (1):
Posted by: Yaroslav Yenkala