Given I have a rails app And I'm using cucumber And I'm using capybara And I have an action that results in a redirect_to "http://some.other.domain.com/some_path" When I test this action Then the in-app portion of the test works fine But I see this error: No route matches "/some_path" with {:method=>:get} (ActionController::RoutingError)
所以capybara被正确重定向到“http://some.other.domain.com/some_path”,但由于某种原因,它认为它应该处理我的应用程序内的URL的路径部分.注意capybara没有任何问题,“http://some.other.domain.com/” – 我的测试通过,如果我重定向到没有路径部分的URL.
这是一个bug吗?