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

Add a hint

Klaus Zandersc67542ec89e3
diff --git a/spec/controllers/shares_controller_spec.rb b/spec/controllers/shares_controller_spec.rb
index 07edca7d3b8..3306fdd4aff 100644
--- a/spec/controllers/shares_controller_spec.rb
+++ b/spec/controllers/shares_controller_spec.rb
@@ -82,7 +82,7 @@ RSpec.describe SharesController do
get :index, params: { project_query_id: project_query.id }
end
- context "when the user does not have permission to access the project query" do
+ context "when the user does not have permission to access the project query (as it is not owned by the user)" do
before do
mock_permissions_for(user, &:forbid_everything)
end