Enhancement: Log executed RSpec example name to reason about related log lines.
This commit is contained in:
parent
1da20d3f90
commit
8a20892a8d
1 changed files with 6 additions and 0 deletions
6
spec/support/log_spec_name.rb
Normal file
6
spec/support/log_spec_name.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
RSpec.configure do |config|
|
||||
|
||||
config.prepend_before(:example) do |example|
|
||||
Rails.logger.info "=== running RSpec example '#{example.metadata[:full_description]}'"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue