Sha256: 0814dc19620422f264d5c460ecfa7ef6381620aa38f301072a36269fc0f08bf8
Contents?: true
Size: 829 Bytes
Versions: 8
Compression:
Stored size: 829 Bytes
Contents
Feature: If you want to see the content of a particular response without triggering then it can be peeked instead. To do this, the responses unique id is required to identify it Scenario: Peeking a text based response Given I hit 'http://localhost:7001/mirage/set/greeting' with parameters: | response | Hello | When I hit 'http://localhost:7001/mirage/peek/1' Then 'Hello' should be returned Scenario: Peeking a file based response Given I hit 'http://localhost:7001/mirage/set/download' with parameters: | response | README.md | When I hit 'http://localhost:7001/mirage/peek/1' Then the response should be a file the same as 'README.md' Scenario: Peeking a response that does not exist When I hit 'http://localhost:7001/mirage/peek/1' Then a 404 should be returned
Version data entries
8 entries across 8 versions & 1 rubygems