据我所知,我的路由文件 - 对于一个全新的项目来创建一个site.com/users/create
我做的:
StartPoint::Application.routes.draw do
resource :users
end
但是在运行我的测试时,我得到:
INFO - Running: spec/routing
/home/adam/.rvm/gems/ruby-2.0.0-p247/gems/rspec-core-2.14.5/lib/rspec/core/configuration.rb:896:in `load': cannot load such file -- /home/adam/Documents/Rails-StartPoint/StartPoint/spec/routing (LoadError)
我猜这只是意味着它的路由错误?