看板 Ruby 關於我們 聯絡資訊
自問自答 XD 似乎是因為funcitonal test沒有follow redirect,所以reponse內容只有 一行,如下: <html> <body>You are being <a href="http://test.host/">redirected</a>.</body> </html> 看來要測最終view的內容的話,應該是要在integration test中做測試? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 219.91.127.135