You should be using this instead: WebMock.allow_net_connect! Alternatively, you could also do. WebMock.disable_net_connect(allow: ['https://myurl.com']).
確定! 回上一頁