Sha256: 350af84b021c040c8bd795acc1abc2529d428d2113b45dcb78b2183c116517ac
Contents?: true
Size: 501 Bytes
Versions: 28
Compression:
Stored size: 501 Bytes
Contents
Feature: Its possible introduce a delay before responding to a client with a particular response. This lets you simulate real world conditions by making your application wait before receiving a response. Scenario: Response with a delay Given I send PUT to 'http://localhost:7001/mirage/templates/an_appology' with body 'Sorry' and headers: | X-mirage-delay | 4.2 | When I send GET to 'http://localhost:7001/mirage/responses/an_appology' Then it should take at least '4.2' seconds
Version data entries
28 entries across 28 versions & 1 rubygems