These are chat archives for ryotarai/infrataster

3rd
Nov 2015
Nathan Valentine
@nrvale0
Nov 03 2015 17:46
Hello, everyone. Could someone please point me to code/docs for how to check the HTTP response code for a request from the 'http' resource?
KITAITI Makoto
@KitaitiMakoto
Nov 03 2015 19:16

Hi, @nrvale0 .
Does this help you?

expect(response.status).to eq(200)

(from http://techlife.cookpad.com/entry/2014/11/19/151557 but written in Japanese)