From fa62b55960a39ddff5d05752105ef5b1513726a6 Mon Sep 17 00:00:00 2001 From: Max Ewing Date: Fri, 8 Mar 2024 08:34:51 +0000 Subject: [PATCH] docs: fix typos in README (#2) +semver: none --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1d7df24..bf4412f 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ flowchart LR submitCase --> processCase ``` -The automated tests for this application will need to setup scenarios up to any given point in that process. In addition, the will need configure the specific parameters of each of those events. The scenario builder provides a framework for achieving both of those goals. +The automated tests for this application will need to setup scenarios up to any given point in that process. In addition, they will need to configure the specific parameters of each of those events. The scenario builder provides a framework for achieving both of those goals. A scenario with a completely processed case: @@ -95,14 +95,13 @@ public void GivenACaseHasBeenAssignedToMe() ```csharp [Given("I have completed the documents check")] -public void GivenACaseHasBeenAssignedToMe() +public void GivenIHaveCompletedTheDocumentsCheck() { var scenario = this.ctx.Get("scenario"); this.scenarioBuilder. .CaseworkerProcessesCase(a => a - .ByCompletingDocumentsCheck(b => b - .WithOutcome(DocumentsCheckOutcome.MissingDocuments)) + .ByCompletingDocumentsCheck() .BuildAsync(scenario); } ```