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)
이 그래서 카피 바라가 제대로 리디렉션 내 응용 프로그램 이외의 브라우저를 리디렉션 시나리오에 문제를 "http://some.other.domain.com/some_path"하지만 그것이 내 응용 프로그램 내에서 URL의 경로 부분을 처리해야한다고 생각 몇 가지 이유. 참고 capybara는 전혀 문제가 없습니다. "http://some.other.domain.com/"- 경로 부분이없는 URL로 리디렉션하면 테스트를 통과합니다.오이 + 카피 바라 :
이것은 버그입니까?
작은곰에게 질문을 쓰려면 : – zetetic