Sha256: a36789aef05f31540a9bab7da89e676758686d112143c32373a19e2ccef9552d

Contents?: true

Size: 594 Bytes

Versions: 5

Compression:

Stored size: 594 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(1).should == 'name=leon'
    """

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mirage-0.1.6 features/client/checking_for_requests.feature
mirage-0.1.5 features/client/checking_for_requests.feature
mirage-0.1.4 features/client/checking_for_requests.feature
mirage-0.1.3 features/client/checking_for_requests.feature
mirage-0.1.2 features/client/checking_for_requests.feature