expect(MyWorker).to have_enqueued_sidekiq_job().at(Time.now)
导致我收到此错误
undefined method at for #RSpec::Matchers::BuiltIn::Has:0x007fecb7f0a068`
这是我的 rspec 宝石
rspec (3.6.0)
rspec-core (3.6.0)
rspec-expectations (3.6.0)
rspec-mocks (3.6.0)
rspec-sidekiq (3.0.3)
rspec-support (3.6.0)