我有一个问题,运行测试用例后,加载这么多的东西说<class:Matcher>': uninitialized constant RSpec::Matchers::Composable (NameError)。请帮助!先谢谢你了!
<class:Matcher>': uninitialized constant RSpec::Matchers::Composable (NameError)
w3nuxt5m1#
我在我的Rails应用程序测试用例中也遇到了同样的问题。我是如何解决的。
follow below two steps: 1. first mark the gem as required false as below group 'test' do gem 'rspec-sidekiq', require: false end 2. require the gem in rails_helper.rb file as below require 'rspec-sidekiq'
字符串现在问题就解决了
1条答案
按热度按时间w3nuxt5m1#
我在我的Rails应用程序测试用例中也遇到了同样的问题。我是如何解决的。
字符串
现在问题就解决了