renderのresponse.statusは200、redirect_toは302
テストするには
expect(response).to redirect_to("アクション名orパス") expect(response).to render_template("アクション名orパス")
renderのresponse.statusは200、redirect_toは302
テストするには
expect(response).to redirect_to("アクション名orパス") expect(response).to render_template("アクション名orパス")