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 flickering spec

Jan Sandbrink77d796434306
diff --git a/spec/controllers/shares_controller_spec.rb b/spec/controllers/shares_controller_spec.rb
index 216b5b231bc..cad2d376502 100644
--- a/spec/controllers/shares_controller_spec.rb
+++ b/spec/controllers/shares_controller_spec.rb
@@ -492,7 +492,7 @@ RSpec.describe SharesController do
it "responds with updated permission buttons" do
make_request
expect(controller).to have_received(:respond_with_bulk_updated_permission_buttons)
- .with([view_member, edit_member])
+ .with(a_collection_containing_exactly(view_member, edit_member))
end
end