1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[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 committed by git
parent efc7766244
commit b2668248b6

View file

@ -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|