Merge pull request #270 from leviable/fix-screenshot-paths

Update paths to screenshots for examples
Этот коммит содержится в:
Fredrik Lönnblad 2020-03-23 17:27:22 +01:00 коммит произвёл GitHub
родитель d56cf10d0d 7e432e13ed
коммит 11dde19cd3
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -44,7 +44,7 @@ Now we have described a success case and an error when the request method is not
Run **godog version.feature**. You should see the following result, which says that all of our Run **godog version.feature**. You should see the following result, which says that all of our
steps are yet undefined and provide us with the snippets to implement them. steps are yet undefined and provide us with the snippets to implement them.
![Screenshot](https://raw.github.com/cucumber/godog/master/examples/api/screenshots/undefined.png) ![Screenshot](https://raw.github.com/cucumber/godog/master/_examples/api/screenshots/undefined.png)
### Step 3 ### Step 3
@ -253,7 +253,7 @@ used to respond with the correct constant version number.
Run our tests to see whether everything is happening as we have expected: `godog version.feature` Run our tests to see whether everything is happening as we have expected: `godog version.feature`
![Screenshot](https://raw.github.com/cucumber/godog/master/examples/api/screenshots/passed.png) ![Screenshot](https://raw.github.com/cucumber/godog/master/_examples/api/screenshots/passed.png)
### Conclusions ### Conclusions

Просмотреть файл

@ -1,7 +1,7 @@
# An example of API with DB # An example of API with DB
The following example demonstrates steps how we describe and test our API with DB using **godog**. The following example demonstrates steps how we describe and test our API with DB using **godog**.
To start with, see [API example](https://github.com/cucumber/godog/tree/master/examples/api) before. To start with, see [API example](https://github.com/cucumber/godog/tree/master/_examples/api) before.
We have extended it to be used with database. We have extended it to be used with database.
The interesting point is, that we have [go-txdb](https://github.com/DATA-DOG/go-txdb) library, The interesting point is, that we have [go-txdb](https://github.com/DATA-DOG/go-txdb) library,