Created
June 26, 2009 17:54
-
-
Save jxson/136626 to your computer and use it in GitHub Desktop.
Special before filter for adding logging to cucumber, similar to http://bitly.com/pFAxD
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
# Special before filter for adding logging to cucumber, similar to http://bitly.com/pFAxD | |
Before do |scenario| | |
Rails.logger.info "\n\n Scenario(s): #{scenario.to_sexp[3]}\n#{'-' * 78}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment