Skip to content

Instantly share code, notes, and snippets.

@dabit
Created April 5, 2011 20:10
Show Gist options
  • Save dabit/904433 to your computer and use it in GitHub Desktop.
Save dabit/904433 to your computer and use it in GitHub Desktop.
Put this on your spec_helper, be happy reading test.log
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