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

ulferts0c05382fcba8
diff --git a/modules/my_page/spec/requests/api/v3/grids/grids_resource_spec.rb b/modules/my_page/spec/requests/api/v3/grids/grids_resource_spec.rb
index fe2ba9ecfba..c17d816f129 100644
--- a/modules/my_page/spec/requests/api/v3/grids/grids_resource_spec.rb
+++ b/modules/my_page/spec/requests/api/v3/grids/grids_resource_spec.rb
@@ -156,6 +156,10 @@ describe 'API v3 Grids resource', type: :request, content_type: :json do
end
context 'with the page not existing' do
+ let(:stored_grids) do
+ # no pages exist so the page requests for is not existing as well
+ end
+
let(:path) { api_v3_paths.grid(5) }
it 'responds with 404 NOT FOUND' do