Skip to content

Commit

Permalink
Merge pull request #313 from ifad/chore/silence-logger
Browse files Browse the repository at this point in the history
Use spec logger in specs
  • Loading branch information
tagliala authored Sep 20, 2024
2 parents 1414706 + 7f48b1a commit c2c1ba6
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 c2c1ba6

Please sign in to comment.