Skip to content

Commit

Permalink
update pokemon demo
Browse files Browse the repository at this point in the history
  • Loading branch information
b.prioux committed Nov 8, 2018
1 parent e9a7228 commit 5a02b2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions demo/pokemon.feature
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Feature: demo with API of pokeapi.co

Background:
* url 'https://pokeapi.co/api/v2'
* url 'https://pokeapi.co/api/v2/pokemon'

Scenario: should return Pikachu

Given path 'pokemon-form', '25'
Given path '25'
When method get
Then status 200
And match response contains { name: pikachu }
2 changes: 1 addition & 1 deletion slides.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ image::https://github.com/intuit/karate/raw/master/karate-demo/src/test/resource

image::images/start-demo.png[]

.Testing `https://pokeapi.co/api/v2`
.Find Pikachu in `https://pokeapi.co/api/v2/pokemon/`
[source]
----
java -jar karate.jar -t pokemon.feature
Expand Down

0 comments on commit 5a02b2d

Please sign in to comment.