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
Attempt to fix flaky spec in users#index view spec.
Dombi Attila9eb02b137409
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erbindex aafcab7ec17..479f293b06a 100644--- a/app/views/users/index.html.erb+++ b/app/views/users/index.html.erb@@ -55,4 +55,4 @@ See COPYRIGHT and LICENSE files for more details.<%= render Users::UserFilterComponent.new(params, groups: @groups, status: @status) %> -<%= render Users::TableComponent.new(rows: @users, current_user: current_user) %>+<%= render Users::TableComponent.new(rows: @users, current_user: ) %>diff --git a/spec/views/users/index.html.erb_spec.rb b/spec/views/users/index.html.erb_spec.rbindex ec04ad39e1d..10e7578cf3f 100644--- a/spec/views/users/index.html.erb_spec.rb+++ b/spec/views/users/index.html.erb_spec.rb@@ -40,8 +40,8 @@ RSpec.describe 'users/index' doassign(:groups, Group.all)allow(view).to receive(:current_user).and_return(admin)- allow(controller).to receive(:controller_name).and_return("users")- allow(controller).to receive(:action_name).and_return("index")+ allow(view).to receive(:controller_name).and_return("users")+ allow(view).to receive(:action_name).and_return("index")endsubject { rendered.squish }