且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

RSpec 错误“未初始化的常量 FactoryGirl(名称错误)"

更新时间:2023-02-12 17:05:19

您只需在 spec_helper.rb 文件中添加以下内容

You just have to add the following in your spec_helper.rb file

require 'factory_girl_rails'