From b7d12b6871066146492a7b7350c1bb17e2d181d1 Mon Sep 17 00:00:00 2001
From: Gary Holtz <gholtz@gitlab.com>
Date: Thu, 5 Aug 2021 13:45:31 -0500
Subject: [PATCH] Adds APIs and their specs to projectionist example file

Changelog: added
---
 .projections.json.example | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.projections.json.example b/.projections.json.example
index a7bcb00f83a09..630cb3e16fe4b 100644
--- a/.projections.json.example
+++ b/.projections.json.example
@@ -15,6 +15,14 @@
     "alternate": "lib/{}.rb",
     "type": "test"
   },
+  "lib/api/*.rb": {
+    "alternate": "spec/requests/api/{}_spec.rb",
+    "type": "source"
+  },
+  "spec/requests/api/*_spec.rb": {
+    "alternate": "lib/api/{}.rb",
+    "type": "test"
+  },
   "ee/app/*.rb": {
     "alternate": "ee/spec/{}_spec.rb",
     "type": "source"
-- 
GitLab