Commit 144709a7 authored by Stan Hu's avatar Stan Hu

Merge branch '61365-consider-setting-rspec-full_backtrace-only-in-ci' into 'master'

Resolve "Consider setting RSpec `full_backtrace` only in CI"

Closes #61365

See merge request gitlab-org/gitlab-ce!28051
parents 4d2b3898 b4bc6821
...@@ -53,7 +53,7 @@ RSpec.configure do |config| ...@@ -53,7 +53,7 @@ RSpec.configure do |config|
config.display_try_failure_messages = true config.display_try_failure_messages = true
config.infer_spec_type_from_file_location! config.infer_spec_type_from_file_location!
config.full_backtrace = true config.full_backtrace = !!ENV['CI']
config.define_derived_metadata(file_path: %r{/spec/}) do |metadata| config.define_derived_metadata(file_path: %r{/spec/}) do |metadata|
location = metadata[:location] location = metadata[:location]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment