Skip to content

Commit

Permalink
docs: fix database documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mgalbis committed Sep 19, 2024
1 parent af60941 commit 1f48aec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions wakamiti-doc/docs/plugins/database.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -572,12 +572,12 @@ Assert that the data provided in the DataTable exists or not in the given table.

#### Examples:
```gherkin
Then the following user exists in the table USER:
Then the following record exists in the table USER:
| USER | STATE | BLOCKING_DATE |
| user2 | 3 | 2020-02-13 |
```
```gherkin
Then the following users not exist in the table USER:
Then the following records not exist in the table USER:
| USER | STATE | BLOCKING_DATE |
| user1 | 2 | <null> |
| user2 | 3 | 2020-02-13 |
Expand Down
9 changes: 6 additions & 3 deletions wakamiti-doc/docs/plugins/database.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ JSON.

#### Ejemplos:
```gherkin
When se ejecuta el siguiente script SQL:
Cuando se ejecuta el siguiente script SQL:
"""sql
INSERT INTO users (id, first_name) VALUES (1, 'Rosa');
INSERT INTO users (id, first_name) VALUES (2, 'Pepe');
Expand Down Expand Up @@ -318,6 +318,9 @@ JSON.
```gherkin
Cuando se ejecuta el script SQL del fichero 'data/script.sql'
```
```gherkin
Cuando se ejecuta el procedimiento SQL del fichero 'data/procedure.sql'
```


### Seleccionar datos
Expand Down Expand Up @@ -575,12 +578,12 @@ Comprueba que todas las filas siguientes existen, o no, en la tabla indicada.

#### Ejemplos:
```gherkin
Entonces el siguiente usuario existe en la tabla USER:
Entonces el siguiente registro existe en la tabla USER:
| USER | STATE | BLOCKING_DATE |
| user2 | 3 | 2020-02-13 |
```
```gherkin
Entonces los siguientes usuarios no existen en la tabla USER:
Entonces los siguientes registros no existen en la tabla USER:
| USER | STATE | BLOCKING_DATE |
| user1 | 2 | <null> |
| user2 | 3 | 2020-02-13 |
Expand Down

0 comments on commit 1f48aec

Please sign in to comment.