Sha256: 65a9bc0ddfe5cd5d59216f1710a7941db8f63c395c174c81c45142d0824ee3fb
Contents?: true
Size: 1.08 KB
Versions: 11
Compression:
Stored size: 1.08 KB
Contents
Feature: Templates can be retrieved by using the ID that was returned when they were created Scenario: Retrieving a template Given the following template template: """ { "response":{ "default":false, "body":"Hello", "delay":0, "content_type":"text/plain", "status":200 }, "request":{ "parameters":{ }, "body_content":[ ], "http_method":"get" } } """ And the template is sent using PUT to 'http://localhost:7001/mirage/templates/greeting' When GET is sent to 'http://localhost:7001/mirage/templates/1' Then the following should be returned: """ { "response":{ "default":false, "body":"Hello", "delay":0, "content_type":"text/plain", "status":200 }, "request":{ "parameters":{ }, "body_content":[ ], "http_method":"get" } } """
Version data entries
11 entries across 11 versions & 1 rubygems