lib/rspec/sidekiq/matchers/be_unique.rb in rspec-sidekiq-0.3.0 vs lib/rspec/sidekiq/matchers/be_unique.rb in rspec-sidekiq-0.4.0

- old
+ new

@@ -13,10 +13,10 @@ def failure_message "expected #{@klass} to be unique in the queue but it is not" end def matches? job - @klass = job.class + @klass = job.kind_of?(Class) ? job : job.class @actual = @klass.get_sidekiq_options["unique"] @actual == true end def negative_failure_message \ No newline at end of file