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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
move request store clearing to after each
ulfertsad9f6fd3d337
diff --git a/spec/support/rspec_cleanup.rb b/spec/support/rspec_cleanup.rbindex cc473064521..919d01a42d8 100644--- a/spec/support/rspec_cleanup.rb+++ b/spec/support/rspec_cleanup.rb@@ -4,8 +4,6 @@ RSpec.configure do |config|# This happens automatically for :mailer specsActionMailer::Base.delivery_method = :testActionMailer::Base.deliveries.clear-- RequestStore.clear!endconfig.append_after(:each) do@@ -13,9 +11,7 @@ RSpec.configure do |config|# by calling code in the app setting changing the locale.I18n.locale = :en unless I18n.locale == :en- # Set the class instance variable @current_user to nil- # to avoid having users from one spec present in the next- ::User.instance_variable_set(:@current_user, nil)+ RequestStore.clear!end# We don't want this to be reported on CI as it breaks the build