the shop class" do @shop.should_not_be_nil end
在rake路径中,以及通过web浏览器,这个控制器/动作都工作得很好。class ActionController::RoutingError:
No routematches {:controller=>"shops
rspec在规范/路由中生成了一个名为menus_routing_spec.rb的类。 endrestaurant_menus_path GET (/:locale)/restaurants/:restaurant_idActionController::UrlGenerationError:
No r
在我的应用程序中工作良好的路由在rspec测试中的任何get/put调用上都会失败,“没有路由匹配”。我在这里做错什么了?should redirect to edit on show ActionController::RoutingError:
No routematches {:controller=>"contracts", :act