Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

increase rspec output truncation length

Christophe Bliard248da19f0370
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index a774e365f9b..179de32e7ba 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -54,6 +54,11 @@ RSpec.configure do |config|
# and `failure_message` of custom matchers include text for helper methods
# defined using `chain`
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
+
+ # Configures the maximum character length that RSpec will print while
+ # formatting an object. Set length to nil to prevent RSpec from doing
+ # truncation.
+ expectations.max_formatted_output_length = 1000
end
# rspec-mocks config goes here. You can use an alternate test double