Skip to content

Commit

Permalink
Use spec logger in specs
Browse files Browse the repository at this point in the history
  • Loading branch information
tagliala committed Sep 20, 2024
1 parent 1414706 commit 7f48b1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/heathen/processor_methods/htmltotext_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
RSpec.describe Heathen::Processor do
let(:content) { fixture('heathen/quickfox.html').read }
let(:job) { Heathen::Job.new 'foo', content, 'en' }
let(:processor) { described_class.new job: job, logger: Logger.new($stderr) }
let(:processor) { described_class.new job: job, logger: spec_logger }

after do
processor.clean_up
Expand Down
2 changes: 1 addition & 1 deletion spec/heathen/processor_methods/pdftotext_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
RSpec.describe Heathen::Processor do
let(:content) { fixture('heathen/quickfox.pdf').read }
let(:job) { Heathen::Job.new 'foo', content, 'en' }
let(:processor) { described_class.new job: job, logger: Logger.new($stderr) }
let(:processor) { described_class.new job: job, logger: spec_logger }

after do
processor.clean_up
Expand Down

0 comments on commit 7f48b1a

Please sign in to comment.