Sha256: 245b5decae88a229e27386cf7b17c220d705c5629e2188c3fde17866e7d44a1f

Contents?: true

Size: 602 Bytes

Versions: 1

Compression:

Stored size: 602 Bytes

Contents

Feature: Requests made to the Mirage Server can be tracked using the Mirage client

  Background:
    Given the following gems are required to run the Mirage client test code:
    """
    require 'rubygems'
    require 'rspec'
    require 'mirage'
    """

  Scenario: The MockServer returns a response
    Given I hit 'http://localhost:7001/mirage/set/greeting' with parameters:
      | response | Hello |

    When I hit 'http://localhost:7001/mirage/get/greeting' with parameters:
      | name | leon  |
    Then I run
    """
       Mirage::Client.new.check_request(1).should == 'name=leon'
    """

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mirage-0.1.7 features/client/checking_for_requests.feature