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

Version Path
mirage-3.0.0.alpha.11 features/client/requests.feature
mirage-3.0.0.alpha.10 features/client/requests.feature
mirage-3.0.0.alpha.9 features/client/requests.feature
mirage-3.0.0.alpha.8 features/client/requests.feature
mirage-3.0.0.alpha.7 features/client/requests.feature
mirage-3.0.0.alpha.6 features/client/requests.feature
mirage-3.0.0.alpha.5 features/client/requests.feature
mirage-3.0.0.alpha.4 features/client/requests.feature
mirage-3.0.0.alpha.3 features/client/requests.feature
mirage-3.0.0.alpha.2 features/client/requests.feature
mirage-3.0.0.alpha.1 features/client/requests.feature