Method: Cornucopia::Util::TestHelper#record_test
- Defined in:
- lib/cornucopia/util/test_helper.rb
#record_test(start_end, test_name) ⇒ Object
50 51 52 53 54 55 56 |
# File 'lib/cornucopia/util/test_helper.rb', line 50 def record_test(start_end, test_name) if Cornucopia::Util::Configuration.record_test_start_and_end_in_log if Object.const_defined?("Rails") Rails.logger.error((start_end, test_name)) end end end |