无法 运行 rspec 与 Sequel
Not able to run rspec with Sequel
我正在使用 "rspec_sequel_matchers" gem 并按照文档中提到的步骤进行操作。但是当我 运行 rspec 它说“未初始化的常量 RspecSequel (NameError)”。
非常感谢帮助。
我移动了代码:
RSpec.configure do |config|
config.include RspecSequel::Matchers
#...other config..
end
从 spec_helper.rb 到 rails_helper.rb
现在可以使用了。
我正在使用 "rspec_sequel_matchers" gem 并按照文档中提到的步骤进行操作。但是当我 运行 rspec 它说“未初始化的常量 RspecSequel (NameError)”。 非常感谢帮助。
我移动了代码:
RSpec.configure do |config|
config.include RspecSequel::Matchers
#...other config..
end
从 spec_helper.rb 到 rails_helper.rb
现在可以使用了。