Skip to content

Commit

Permalink
fix cop
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhacaz committed Jun 14, 2024
1 parent bd2239f commit 34b4761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/rubocop/cop/sidekiq/date_time_argument_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
RUBY
end

it 'registers an offense' do
it 'registers an offense on Time.current' do
expect_offense(<<~RUBY)
MyWorker.perform_async(Time.current)
^^^^^^^^^^^^ Sidekiq/DateTimeArgument: Date/Time objects are not Sidekiq-serializable; convert to integers or strings instead.
Expand Down

0 comments on commit 34b4761

Please sign in to comment.