Created
December 19, 2012 19:40
-
-
Save anonymous/4339818 to your computer and use it in GitHub Desktop.
Log each method in rspec
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
describe "Something" | |
before(:each) do |x| | |
Rails.logger.info "RspecExample: " + x.example.metadata[:full_description] | |
end | |
end |
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 |x| | |
Rails.logger.info "RspecExample: " + x.example.metadata[:full_description] | |
end | |
#... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment