[rubygems/rubygems] Make sure RSpec diffs don't omit the different part

We sometimes check assertions on lockfile contents, which involves
comparing a reasonably long string. Sometimes RSpec is not able to show
the part of the string that's actually different, making it hard to
figure out the issue.

Configuring this setting should fix the issue in most cases.

https://github.com/rubygems/rubygems/commit/5ad8ee499e
This commit is contained in:
David Rodríguez 2022-09-16 13:40:32 +02:00 коммит произвёл git
Родитель efc7766244
Коммит b2668248b6
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -58,6 +58,8 @@ RSpec.configure do |config|
config.expect_with :rspec do |c|
c.syntax = :expect
c.max_formatted_output_length = 1000
end
config.mock_with :rspec do |mocks|