Fix broken spec

This commit is contained in:
Jordan Owens 2020-09-04 13:02:41 -04:00 committed by GitHub
parent c55b45d308
commit 32119ef639
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ require 'logger'
describe Sinatra::QuietLogger do
it 'logs just pathes not excluded' do
it 'logs just paths not excluded' do
log = StringIO.new
logger = Logger.new(log)
mock_app do
@ -28,7 +28,7 @@ describe Sinatra::QuietLogger do
mock_app do
register Sinatra::QuietLogger
end
}.to output("You need to specify the pathes you wish to exclude from logging via `set :quiet_logger_prefixes, %w(images css fonts)`\n").to_stderr
}.to output("You need to specify the paths you wish to exclude from logging via `set :quiet_logger_prefixes, %w(images css fonts)`\n").to_stderr
end
end