Skip to content

Commit

Permalink
Fix errors caused by different stdlib logger
Browse files Browse the repository at this point in the history
  • Loading branch information
raggi committed Dec 28, 2011
1 parent 7754cdb commit 67cc1c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/spec_rack_logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

errors = StringIO.new
Rack::Logger.new(app).call({'rack.errors' => errors})
errors.string.should.match "INFO -- : Program started"
errors.string.should.match "WARN -- : Nothing to do"
errors.string.should.match "Program started"
errors.string.should.match "Nothing to do"
end
end

0 comments on commit 67cc1c5

Please sign in to comment.