wspurgin / rspec-sidekiq

RSpec for Sidekiq
https://github.com/wspurgin/rspec-sidekiq
Other
655 stars 132 forks source link

Gem specs fail #89

Closed why-el closed 4 years ago

why-el commented 8 years ago

Hey,

When I run the rspec-sidekiq specs locally using bundle exec rspec spec I get 4 failures:

rspec ./spec/rspec/sidekiq/matchers/have_enqueued_job_spec.rb:29 # RSpec::Sidekiq::Matchers::HaveEnqueuedJob expected usage matches on an enqueued ActiveJob
rspec ./spec/rspec/sidekiq/matchers/have_enqueued_job_spec.rb:33 # RSpec::Sidekiq::Matchers::HaveEnqueuedJob expected usage matches on an enqueued ActiveJob by global_id
rspec ./spec/rspec/sidekiq/matchers/have_enqueued_job_spec.rb:37 # RSpec::Sidekiq::Matchers::HaveEnqueuedJob expected usage matches on ActionMailer Job
rspec ./spec/rspec/sidekiq/matchers/have_enqueued_job_spec.rb:45 # RSpec::Sidekiq::Matchers::HaveEnqueuedJob expected usage matches on ActionMailer with a resource Job

All dependencies are installed. I tested this against both ruby 2.1.5 and the latest 2.2.4 and also both the develop branch and the master branch. Anything more than bundle exec rspec spec I need to run or be aware of?

freemanoid commented 8 years ago

I got the same errors. I traced the errors and the logic which leads to them seems to be reasonable. Can't understand why doesn't it fail on travis.

Well, at least I got the same errors on travis in my fork. https://travis-ci.org/freemanoid/rspec-sidekiq/builds/112469756

wpolicarpo commented 8 years ago

@why-el @freemanoid are you still having problems with this?

packrat386 commented 4 years ago

Doesn't reproduce locally and this is pretty old.