Sha256: 75e4333ae2da9ed3214017cf1e0c976252a4e91e20bf509523c8aa397b325593
Contents?: true
Size: 554 Bytes
Versions: 11
Compression:
Stored size: 554 Bytes
Contents
Feature: Requests made to the Mirage Server can be retrieved using the Mirage client Background: Given the following require statements are needed: """ require 'rubygems' require 'mirage/client' """ Scenario: Retrieving request data Given a template for 'greeting' has been set with a value of 'Hello' When I send GET to 'http://localhost:7001/mirage/responses/greeting' with parameters: | name | leon | Then I run """ Mirage::Client.new.requests(1).parameters.should == {'name' => 'leon'} """
Version data entries
11 entries across 11 versions & 1 rubygems