LoggerForTest
LoggerForTest is a Logger API compatible logger that lets you inspect the contents of a log
without hitting the disk. You probably want to replace the Logger
constant in your app with this in your spec_helper.rb
.
Installation
Add this line to your application's Gemfile:
gem 'logger_for_test'
And then execute:
$ bundle
Or install it yourself as:
$ gem install logger_for_test
Usage
TODO: Write usage instructions here
Contributing
- Fork it ( https://github.com/rudle/logger_for_test/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request