diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-05 00:08:30 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-05 00:08:30 +0300 |
commit | 810bb7ad356ba58474907191196857132001fb86 (patch) | |
tree | 09d874b00d3032bba52e50178acd75dc5a73e015 /spec/fast_spec_helper.rb | |
parent | edbd2871924ae26cfb0043cc5896e57711b33a97 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/fast_spec_helper.rb')
-rw-r--r-- | spec/fast_spec_helper.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/fast_spec_helper.rb b/spec/fast_spec_helper.rb index 6cbe97fb3f3..34ab48f67a8 100644 --- a/spec/fast_spec_helper.rb +++ b/spec/fast_spec_helper.rb @@ -35,4 +35,11 @@ RSpec.configure do |config| config.filter_run focus: true config.run_all_when_everything_filtered = true end + + # Makes diffs show entire non-truncated values. + config.before(:each, unlimited_max_formatted_output_length: true) do |_example| + config.expect_with :rspec do |c| + c.max_formatted_output_length = nil + end + end end |