Ruby Debug “no such file to load --spec_helper”

前端 未结 2 1457
温柔的废话
温柔的废话 2021-02-13 01:56

Noob who may be missing something obvious ... I\'m trying to debug an Rspec file. The Rspec file is stripped down at this point:

  require \'spec_helper\'

  de         


        
2条回答
  •  独厮守ぢ
    2021-02-13 02:26

    Make sure you've run

    rails generate rspec:install
    

    to create the spec_helper.rb file.

提交回复
热议问题