spec/rspec/sidekiq/helpers/retries_exhausted_spec.rb in rspec-sidekiq-2.0.0.beta vs spec/rspec/sidekiq/helpers/retries_exhausted_spec.rb in rspec-sidekiq-2.0.0
- old
+ new
@@ -1,8 +1,7 @@
-# encoding: utf-8
require 'spec_helper'
-describe 'Retries Exhausted block' do
+RSpec.describe 'Retries Exhausted block' do
class FooClass < TestWorkerAlternative
sidekiq_retries_exhausted do |msg|
bar('hello')
foo(msg)
end