These are chat archives for dareid/chakram

13th
Jun 2017
racerbajs
@racerbajs
Jun 13 2017 11:42
@KinzalOstwal @dareid In response to your question regarding multiple responses. Chai has an "any" option. Shouldn't expect(response).to.have.any.status(200,404) work?
http://chaijs.com/api/bdd/#method_any
KinzalOstwal
@KinzalOstwal
Jun 13 2017 13:44
@racerbajs I tried to implement what you have suggested , When statuscode is returned as 200 it works fine but when statuscode is 404 I am getting this error "AssertionError: expected status code 404 to equal 200";