mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 11:44:02 +00:00
Log example name in test.log for easier debugging
This commit is contained in:
parent
c6d23e4742
commit
9ca7421daf
1 changed files with 6 additions and 0 deletions
|
|
@ -122,6 +122,12 @@ RSpec.configure do |config|
|
|||
@request.host = Rails.application.routes.default_url_options[:host]
|
||||
end
|
||||
|
||||
config.before(:each) do
|
||||
Rails.logger.debug '======================================================================'
|
||||
Rails.logger.debug { "\n\n\n\t\t#{RSpec.current_example.metadata[:full_description]}\n\n\n" }
|
||||
Rails.logger.debug '======================================================================'
|
||||
end
|
||||
|
||||
# use the config to use
|
||||
# t('some.locale.key') instead of always having to type I18n.t
|
||||
config.include AbstractController::Translation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue