我想从solidus_auth_devise
gem 中为默认的 User 模型添加功能,并且我想在 Rspec 中为它编写一个测试。但是,当我尝试使用 实例化模型时Spree::User.new
,我会得到uninitialized constant Spree
What do I have require
to link in the Model from the gem?
我想从solidus_auth_devise
gem 中为默认的 User 模型添加功能,并且我想在 Rspec 中为它编写一个测试。但是,当我尝试使用 实例化模型时Spree::User.new
,我会得到uninitialized constant Spree
What do I have require
to link in the Model from the gem?