diff --git a/__tests__/project/addProject.test.ts b/__tests__/project/addProject.test.ts index cb2a298..9a1a449 100644 --- a/__tests__/project/addProject.test.ts +++ b/__tests__/project/addProject.test.ts @@ -125,7 +125,7 @@ describe('project > addProject', () => { expect(response.status).toEqual(HTTP_STATUS_NO_CONTENT); expect(slackBotWebClient.chat.postEphemeral).toHaveBeenNthCalledWith(1, { channel: channelId, - text: expect.stringContaining(`No project match \`${search}\``), + text: expect.stringContaining(`No project matches \`${search}\``), user: userId, }); }); diff --git a/src/project/commands/add/addProject.ts b/src/project/commands/add/addProject.ts index 8c73453..0d14c0d 100644 --- a/src/project/commands/add/addProject.ts +++ b/src/project/commands/add/addProject.ts @@ -20,7 +20,7 @@ Don't forget to <${getEnvVariable( 'GITLAB_URL' )}/${projectPath}/-/hooks|set up a webhook> \ in your Gitlab project by following the \ -<${HOMER_GIT_URL}/#make-homer-be-notified-of-changes-happening-in-your-gitlab-project|dedicated documentation>. +<${HOMER_GIT_URL}/#1-make-homer-notified-of-changes-happening-in-the-gitlab-project|dedicated documentation>. `, }); } diff --git a/src/project/commands/add/addProjectRequestHandler.ts b/src/project/commands/add/addProjectRequestHandler.ts index 9f6a681..b3192fe 100644 --- a/src/project/commands/add/addProjectRequestHandler.ts +++ b/src/project/commands/add/addProjectRequestHandler.ts @@ -46,7 +46,7 @@ export async function addProjectRequestHandler( await slackBotWebClient.chat.postEphemeral({ channel: channel_id, user: user_id, - text: `No project match \`${query}\` :homer-stressed:`, + text: `No project matches \`${query}\` :homer-stressed:`, }); return; }