webmock
webmock copied to clipboard
Not support symbol status code
I expect to use rails status code.
send :ok when expected 200 but return 0.
Is webmock going to adapt rails status code?
stub_request(:get, url).to_return(status: 200, body: 'response')
status code: https://gist.github.com/mlanett/a31c340b132ddefa9cca
@4geru do you mean allowing for stub_request(:get, url).to_return(status: :ok, body: 'response') ?
Would it make much difference?