Sha256: 330c87478f216b8aa68eedeff59a80b0e592fd69aa64d8689be288dee832ac9d

Contents?: true

Size: 624 Bytes

Versions: 3

Compression:

Stored size: 624 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 send PUT to 'http://localhost:7001/mirage/templates/greeting' with request entity
    """
    Hello
    """

    When I send GET to 'http://localhost:7001/mirage/responses/greeting' with parameters:
      | name | leon  |
    Then I run
    """
       Mirage::Client.new.track(1).should == 'name=leon'
    """

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mirage-2.0.0.alpha3 features/client/track.feature
mirage-2.0.0.alpha2 features/client/track.feature
mirage-2.0.0.alpha1 features/client/track.feature