@@ -51,7 +51,7 @@ The simplest route test possible:
5151
5252``` c#
5353[Fact ]
54- public void GetErrorActionShouldBeRoutedSuccessfuly ()
54+ public void GetErrorActionShouldBeRoutedSuccessfully ()
5555 => MyRouting
5656 .Configuration ()
5757 .ShouldMap (" /Home/Error" )
@@ -71,11 +71,11 @@ public async Task<IActionResult> AddToCart(int id)
7171 }
7272```
7373
74- Create ** "ShoppingCartRouteTest"" ** class and add the following test:
74+ Create ** "ShoppingCartRouteTest"** class and add the following test:
7575
7676``` c#
7777[Fact ]
78- public void GetAddToCartActionShouldBeRoutedSuccessfuly ()
78+ public void GetAddToCartActionShouldBeRoutedSuccessfully ()
7979 => MyRouting
8080 .Configuration ()
8181 .ShouldMap (" /ShoppingCart/AddToCart/1" )
@@ -91,11 +91,11 @@ public async Task<IActionResult> Browse(string genre)
9191 }
9292```
9393
94- Create ** "StoreRouteTest"" ** class and add the following test:
94+ Create ** "StoreRouteTest"** class and add the following test:
9595
9696``` c#
9797[Fact ]
98- public void GetBrowseActionShouldBeRoutedSuccessfuly ()
98+ public void GetBrowseActionShouldBeRoutedSuccessfully ()
9999 => MyRouting
100100 .Configuration ()
101101 .ShouldMap (" /Store/Browse?genre=HipHop" )
@@ -125,7 +125,7 @@ We do not want to test the **"MusicStoreContext"** and the **"IMemoryCache"** ac
125125
126126``` c#
127127[Fact ]
128- public void GetIndexActionShouldBeRoutedSuccessfuly ()
128+ public void GetIndexActionShouldBeRoutedSuccessfully ()
129129 => MyRouting
130130 .Configuration ()
131131 .ShouldMap (" /Home" )
@@ -154,7 +154,7 @@ The following test will fail right away:
154154
155155``` c#
156156[Fact ]
157- public void PostRemoveFromCartActionShouldBeRoutedSuccessfuly ()
157+ public void PostRemoveFromCartActionShouldBeRoutedSuccessfully ()
158158 => MyRouting
159159 .Configuration ()
160160 .ShouldMap (" /ShoppingCart/RemoveFromCart/1" )
@@ -167,7 +167,7 @@ We are testing with HTTP Get request while the action is restricted only for HTT
167167
168168``` c#
169169[Fact ]
170- public void PostRemoveFromCartActionShouldBeRoutedSuccessfuly ()
170+ public void PostRemoveFromCartActionShouldBeRoutedSuccessfully ()
171171 => MyRouting
172172 .Configuration ()
173173 .ShouldMap (request => request // <---
@@ -225,7 +225,7 @@ Let's update the test to make it pass:
225225
226226``` c#
227227[Fact ]
228- public void PostRemoveFromCartActionShouldBeRoutedSuccessfuly ()
228+ public void PostRemoveFromCartActionShouldBeRoutedSuccessfully ()
229229 => MyRouting
230230 .Configuration ()
231231 .ShouldMap (request => request
@@ -245,7 +245,7 @@ Let's test a **"CheckoutController"** action, because all actions in that contro
245245
246246``` c#
247247[Fact ]
248- public void GetAddressAndPaymentActionShouldBeRoutedSuccessfuly ()
248+ public void GetAddressAndPaymentActionShouldBeRoutedSuccessfully ()
249249 => MyRouting
250250 .Configuration ()
251251 .ShouldMap (request => request
@@ -290,7 +290,7 @@ Let's test that route! In **"Routing"**, create an **"Admin"** folder. In it cre
290290
291291``` c#
292292[Fact ]
293- public void GetIndexActionShouldBeRoutedSuccessfuly ()
293+ public void GetIndexActionShouldBeRoutedSuccessfully ()
294294 => MyRouting
295295 .Configuration ()
296296 .ShouldMap (request => request
@@ -320,7 +320,7 @@ The login view model should come from the request form so we may decide to ignor
320320
321321``` c#
322322[Fact ]
323- public void PostLoginActionShouldBeRoutedSuccessfuly ()
323+ public void PostLoginActionShouldBeRoutedSuccessfully ()
324324 => MyRouting
325325 .Configuration ()
326326 .ShouldMap (request => request
0 commit comments