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

Fix stubbed controller

Oliver Günther9cff3772f9d4
diff --git a/spec/features/auth/auth_stages_spec.rb b/spec/features/auth/auth_stages_spec.rb
index 9025a6621d4..605dffdbf66 100644
--- a/spec/features/auth/auth_stages_spec.rb
+++ b/spec/features/auth/auth_stages_spec.rb
@@ -35,7 +35,7 @@ RSpec.describe "Authentication Stages", :skip_2fa_stage do
OpenProject::Authentication::Stage.register :dummy_step, "/login/stage_test"
- allow_any_instance_of(AccountController)
+ allow_any_instance_of(ApplicationController) # rubocop:disable RSpec/AnyInstance
.to receive(:stage_secret)
.and_return("success") # usually 'success' would be a random hex string
end