Sha256: 7225f8cfd5bbcecc917531dfef103e4bfb508f079a10d3cacecf720e8520ae0b

Contents?: true

Size: 458 Bytes

Versions: 13

Compression:

Stored size: 458 Bytes

Contents

Feature: Responses

  Scenario: Normal response
    When I GET "/"
    Then the response should be 200

  Scenario: Response with JSON body
    When I GET "/json"
    Then the response should be 200
    And I should receive the JSON:
    """
      { "key" : 1 }
    """

  Scenario: Not found response
    When I GET "/no_such_route"
    Then the response should be 404

  Scenario: Redirect
    When I GET "/redirect"
    Then I should be redirected to "/"

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
lookout-rack-test-3.0.0 features/general_steps/response.feature
lookout-rack-test-2.3.1 features/general_steps/response.feature
lookout-rack-test-2.3.0 features/general_steps/response.feature
lookout-rack-test-2.2.0 features/general_steps/response.feature
lookout-rack-test-2.1.0 features/general_steps/response.feature
lookout-rack-test-2.0.2 features/general_steps/response.feature
lookout-rack-test-2.0.1 features/general_steps/response.feature
lookout-rack-test-2.0.0 features/general_steps/response.feature
lookout-rack-test-1.3.0 features/general_steps/response.feature
lookout-rack-test-1.2.0 features/general_steps/response.feature
lookout-rack-test-1.1.0 features/general_steps/response.feature
lookout-rack-test-1.0.1 features/general_steps/response.feature
lookout-rack-test-1.0.0 features/general_steps/response.feature