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

RSpec: display full backtrace of causing exception

Christophe Bliardec140b400f28
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index d358e768cc4..793d8d04127 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -114,6 +114,10 @@ RSpec.configure do |config|
# Use colored output
config.color = true
+ # Display the full backtrace of causing exceptions (limited to first line in
+ # default configuration).
+ config.full_cause_backtrace = true
+
# Have the FactoryBot methods like #create and #build_stubbed without
# having to call it on FactoryBot.
config.include FactoryBot::Syntax::Methods