Skip to content

Commit

Permalink
Less truncation in RSpec errors
Browse files Browse the repository at this point in the history
This decreases the chances that useful parts of an error message are
hidden, making it harder to see what the problem is.
  • Loading branch information
deivid-rodriguez committed May 5, 2023
1 parent d556fd9 commit de793cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
config.color = true
config.order = :rand
config.mock_with(:rspec) { |mocks| mocks.verify_partial_doubles = true }
config.expect_with(:rspec) { |expectations| expectations.max_formatted_output_length = 1000 }
config.raise_errors_for_deprecations!
config.example_status_persistence_file_path = ".rspec_status"

Expand Down

0 comments on commit de793cc

Please sign in to comment.