mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Fix broken spec
This commit is contained in:
parent
c55b45d308
commit
32119ef639
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue