Skip to content

Commit

Permalink
Fix Testing Instructions
Browse files Browse the repository at this point in the history
I ran into a known issue[1] when trying to bring this gem into my project.

It turns out the instructions were just out of date. If you merely include the RSpec
file it misses other necessary requires. The noted file does everything you need
regardless of testing framework.

1. mhenrixon#741
  • Loading branch information
jherdman committed Jan 29, 2024
1 parent fcb6a40 commit df0440a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,6 @@ end
#spec/workers/bad_worker_spec.rb

require "sidekiq_unique_jobs/testing"
#OR
require "sidekiq_unique_jobs/rspec/matchers"

RSpec.describe BadWorker do
specify { expect(described_class).to have_valid_sidekiq_options }
Expand Down

0 comments on commit df0440a

Please sign in to comment.