# frozen_string_literal: true require "hanami/web/rack_logger" require "dry/logger" require "stringio" require "rack/mock" RSpec.describe Hanami::Web::RackLogger do subject { described_class.new(logger) } let(:logger) do Dry.Logger( app_name, stream: stream, level: :debug, filters: filters, formatter: :rack, template: "[%s] [%s] [%