Commit b4bc6821 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Show full Rspec backtrace only in CI

parent 61ad5abc
...@@ -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