undefined method 'env' for nil:NilClass

前端 未结 2 1924
一向
一向 2020-12-30 03:20

This is what my spec file looks like: spec/api/v1/projects_spec.rb

require \"spec_helper\"

describe \"/api/v1/projects\", :type => :api do
          


        
2条回答
  •  醉梦人生
    2020-12-30 03:52

    You're still including Devise::TestHelpers somewhere. Check and see what "spec_helper" is loading.

提交回复
热议问题