在生产和开发环境中,“我的域名页面”(www.example.com/mydomainpage)将用户重定向到“外部域名页面”(www.exteraldomain.com/page)。但在测试环境中,cucumber切断了url的域部分:Completed 302 Found in 17895msStarted GET "/page&qu
我已经编写了一个将旧的静态URL映射到新的静态URL的模型,并且在应用程序控制器中,我捕获RoutingErrors以调用一个方法,该方法查找映射到旧的URL的新的URL。这在应用程序本身中工作得很好;如果我访问,它会重定向到,但我无法获得我编写的要通过的Cucumber / Webrat测试,因为我总是收到这样的错误。features/old_urls.feature:26:in `When I try to g
我正在尝试设置一个指向重定向链接数据库的RESTful应用程序接口。我在cucumber中设置了很多测试,其中之一是当用户执行GET on /links/:id时。这应该会将用户重定向到链接。它可以在浏览器中工作,但我在cucumber中设置这个测试时遇到了一些问题。Given /^The link id part of the URL matches an existing entry in the links tabl
当试图连接eclipse中的更新站点以安装Cucumber-Eclipse插件时,我得到以下错误:
Unable to read repository at http://cucumber.io/cucumber-eclipseUnable to read repository at http://cucumber.io/cucumber-eclipse/update-site/content.xml.