From 5a02b2da4bc4c16676c7631d6d7f855b43319e62 Mon Sep 17 00:00:00 2001 From: "b.prioux" Date: Thu, 8 Nov 2018 12:36:32 +0100 Subject: [PATCH] update pokemon demo --- demo/pokemon.feature | 4 ++-- slides.adoc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/demo/pokemon.feature b/demo/pokemon.feature index 3f6fb8f..77dbdcf 100644 --- a/demo/pokemon.feature +++ b/demo/pokemon.feature @@ -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 } diff --git a/slides.adoc b/slides.adoc index 684781b..476dc82 100644 --- a/slides.adoc +++ b/slides.adoc @@ -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