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
Chore: Set up Message Spy on controller
Aaron Contreras5a0cd01966db
diff --git a/spec/controllers/account_controller_spec.rb b/spec/controllers/account_controller_spec.rbindex ced9893d8be..d38efa65c41 100644--- a/spec/controllers/account_controller_spec.rb+++ b/spec/controllers/account_controller_spec.rb@@ -316,10 +316,12 @@ RSpec.describe AccountController,shared_let(:admin) { create(:admin) }it 'calls reset_session' do- expect(controller).to receive(:reset_session).once-+ allow(controller).to receive(:reset_session)login_as admin+get :logout++ expect(controller).to have_received(:reset_session).onceexpect(response).to be_redirectend