我想编写我常用的RSpec/Capybara请求规范,以使用Sunspot和Solr测试搜索功能。我一直在到处寻找,但找不到如何让它工作。(:super_mario_bros_3) { Factory(:product, :name => 'Super Mario Bros. 3') }
it "should only find games matching the search t
我有两个文件,index.js,这是我有服务器配置的地方,routes.js是我有路由逻辑的地方。我编写路线的方式与在中找到的api文档是一致的。(/Users/mario/projects/loGym/node_modules/hapi/lib/route.js:36:10)
at /Users/mario/projects/loGym/ma