Created
April 5, 2011 20:10
-
-
Save dabit/904433 to your computer and use it in GitHub Desktop.
Put this on your spec_helper, be happy reading test.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RSpec.configure do |config| | |
config.before :each do | |
Rails.logger.info "======= START #{self.example.metadata[:full_description]}" | |
end | |
config.after :each do | |
Rails.logger.info "======= END #{self.example.metadata[:full_description]}" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment