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" लेकिन किसी कारण यह सोचता है कि यह मेरे ऐप में यूआरएल के रास्ते भाग संभाल चाहिए। नोट कैपिबरा में "http://some.other.domain.com/" के साथ कोई समस्या नहीं है - मेरे परीक्षण पास होते हैं यदि मैं बिना किसी पथ के यूआरएल पर रीडायरेक्ट करता हूं।ककड़ी + Capybara: एक परिदृश्य है कि मेरे ऐप के बाहर ब्राउज़र को
क्या यह एक बग है?
+1 खीरा में :) – zetetic