Skip to content

Commit

Permalink
Fix specs that broke with the addition of unique jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
ragesoss committed Oct 11, 2017
1 parent cc59f2f commit 06b8e52
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,14 @@

# Peform all Sidekiq worker tasks immediately during testing
require 'sidekiq/testing'
require 'sidekiq-unique-jobs'
Sidekiq::Testing.inline!
Sidekiq.configure_client do |config|
config.client_middleware do |chain|
chain.remove SidekiqUniqueJobs::Client::Middleware
end
end


# This file was generated by the `rails generate rspec:install` command.
# Conventionally, all specs live under a `spec` directory, which RSpec adds
Expand Down

0 comments on commit 06b8e52

Please sign in to comment.