Skip to content

Commit 7803bdb

Browse files
committed
XmlPath > GPath in exercise descriptions
1 parent ad1e6ea commit 7803bdb

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/test/java/answers/RestAssuredAnswers4Test.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public void createRequestSpecification() {
3131
* Assert that the ID of the first account equals 12345
3232
* What do you notice about comparing integer element values?
3333
*
34-
* Use "accounts.account[0].id" as the XmlPath
34+
* Use "accounts.account[0].id" as the GPath
3535
* expression to extract the required value from the response
3636
******************************************************/
3737

@@ -55,7 +55,7 @@ public void getAccountsForCustomer12212AsXml_checkIdOfFirstAccount_shouldBe12345
5555
* Assert that the balance for the third account in the
5656
* list is equal to 43.21
5757
*
58-
* Can you create the correct XmlPath expression yourself,
58+
* Can you create the correct GPath expression yourself,
5959
* using the examples as shown in the slides?
6060
******************************************************/
6161

@@ -78,7 +78,7 @@ public void getAccountsForCustomer12212AsXml_checkBalanceOfThirdAccount_shouldBe
7878
*
7979
* Assert that the list contains 3 accounts of type 'checking'
8080
*
81-
* Can you create the correct XmlPath expression yourself,
81+
* Can you create the correct GPath expression yourself,
8282
* using the examples as shown in the slides?
8383
******************************************************/
8484

@@ -103,7 +103,7 @@ public void getAccountsForCustomer12212AsXml_checkNumberOfCheckingAccounts_shoul
103103
* Assert that the list contains 2 accounts that have an
104104
* id starting with a '5'
105105
*
106-
* Can you create the correct XmlPath expression yourself,
106+
* Can you create the correct GPath expression yourself,
107107
* using the examples as shown in the slides?
108108
******************************************************/
109109

src/test/java/exercises/RestAssuredExercises4Test.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public void createRequestSpecification() {
3131
* Assert that the ID of the first account equals 12345
3232
* What do you notice about comparing integer element values?
3333
*
34-
* Use "accounts.account[0].id" as the XmlPath
34+
* Use "accounts.account[0].id" as the GPath
3535
* expression to extract the required value from the response
3636
******************************************************/
3737

@@ -52,7 +52,7 @@ public void getAccountsForCustomer12212AsXml_checkIdOfFirstAccount_shouldBe12345
5252
* Assert that the balance for the third account in the
5353
* list is equal to 43.21
5454
*
55-
* Can you create the correct XmlPath expression yourself,
55+
* Can you create the correct GPath expression yourself,
5656
* using the examples as shown in the slides?
5757
******************************************************/
5858

@@ -72,7 +72,7 @@ public void getAccountsForCustomer12212AsXml_checkBalanceOfThirdAccount_shouldBe
7272
*
7373
* Assert that the list contains 3 accounts of type 'checking'
7474
*
75-
* Can you create the correct XmlPath expression yourself,
75+
* Can you create the correct GPath expression yourself,
7676
* using the examples as shown in the slides?
7777
******************************************************/
7878

@@ -94,7 +94,7 @@ public void getAccountsForCustomer12212AsXml_checkNumberOfCheckingAccounts_shoul
9494
* Assert that the list contains 2 accounts that have an
9595
* id starting with a '5'
9696
*
97-
* Can you create the correct XmlPath expression yourself,
97+
* Can you create the correct GPath expression yourself,
9898
* using the examples as shown in the slides?
9999
******************************************************/
100100

0 commit comments

Comments
 (0)