Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ expect(AwesomeJob).to be_unique
it { is_expected.to be_unique }

# specify a specific interval
sidkiq_options unique_for: 1.hour
sidekiq_options unique_for: 1.hour
it { is_expected.to be_unique.for(1.hour) }
```

Expand All @@ -277,7 +277,7 @@ it { is_expected.to be_unique.for(1.hour) }
:warning: This sub-matcher only works for Sidekiq Enterprise

```ruby
sidkiq_options unique_for: 1.hour, unique_until: :start
sidekiq_options unique_for: 1.hour, unique_until: :start
it { is_expected.to be_unique.until(:start) }
```

Expand Down