Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Lee Yu <heinrich@gitlab.com>2019-05-03 09:49:45 +0300
committerHeinrich Lee Yu <heinrich@gitlab.com>2019-05-03 09:49:45 +0300
commitb4bc68211bbf87015f31590a30dd04bfde63ad8e (patch)
tree29523857103edc48b20ccd995890f05e52693539 /spec/spec_helper.rb
parent61ad5abc4c96947cd53826c7b4a8d3e572c2595b (diff)
Show full Rspec backtrace only in CI
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index fbc5fcea7b9..9266bee34d6 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -53,7 +53,7 @@ RSpec.configure do |config|
config.display_try_failure_messages = true
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|
location = metadata[:location]