Skip to content

Commit

Permalink
Clean up duplicate definition
Browse files Browse the repository at this point in the history
  • Loading branch information
wspurgin committed Jul 26, 2023
1 parent f3a9ee8 commit ab62910
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rspec/sidekiq/matchers/have_enqueued_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def active_job_original_args
end

class EnqueuedJobs
attr_reader :jobs, :actual_arguments, :actual_options
attr_reader :jobs

def initialize(klass)
@jobs = unwrap_jobs(klass.jobs)
Expand All @@ -93,7 +93,7 @@ def actual_options
@actual_options ||= if jobs.is_a?(Hash)
jobs.values
else
jobs.flatten.map { |j| { 'at' => j['at'] } }
jobs.flatten.map { |j| {"at" => j["at"]} }
end
end

Expand Down

0 comments on commit ab62910

Please sign in to comment.