1
我有一個應用程序,在某些點重定向到不同的網站,在不同的域。我試圖與水豚和鬼驅人來測試它,我得到這個錯誤:水豚/ poltergeist重定向到外部URL(不提取它)
Minitest::UnexpectedError: ActionController::RoutingError: No route matches [GET] "/thank-you-for-registering"
這條道路是在其它網站,因此它不應該在我的Rails應用程序的操作執行。我不需要獲取該頁面,但我需要測試不會崩潰。任何想法如何實現?
這是正確的,我以爲我使用的是Poltergeist,但我沒有。 – Pablo