lib/rspec/sidekiq/matchers/be_unique.rb in rspec-sidekiq-0.4.0 vs lib/rspec/sidekiq/matchers/be_unique.rb in rspec-sidekiq-0.5.0
- old
+ new
@@ -17,10 +17,10 @@
def matches? job
@klass = job.kind_of?(Class) ? job : job.class
@actual = @klass.get_sidekiq_options["unique"]
@actual == true
end
-
+
def negative_failure_message
"expected #{@klass} to not be unique in the queue"
end
end
end
\ No newline at end of file