spec/loga/sidekiq7/job_logger_spec.rb in loga-2.8.0 vs spec/loga/sidekiq7/job_logger_spec.rb in loga-2.8.1
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require 'spec_helper'
require 'loga/sidekiq7/job_logger'
RSpec.describe Loga::Sidekiq7::JobLogger do
subject(:job_logger) { described_class.new(logger) }
@@ -24,10 +26,10 @@
)
end
# https://github.com/mperham/sidekiq/blob/v6.1.2/lib/sidekiq/job_logger.rb
it 'inherits from ::Sidekiq::JobLogger' do
- expect(subject).to be_a(::Sidekiq::JobLogger)
+ expect(subject).to be_a(Sidekiq::JobLogger)
end
describe '#call' do
context 'when the job passess successfully' do
let(:item_data) do