Sha256: 4cd5f36997b02ce15bd3d9ac07635ec55754249155660bbabda8d6a5f4f016de

Contents?: true

Size: 575 Bytes

Versions: 3

Compression:

Stored size: 575 Bytes

Contents

Feature: delete request

  Scenario: simple get request with a body and no other parameters that returns 200
    Given following service definition
    """    
    class SimpleService < RestfulMapper::Service
      base_url "http://localhost:8765"

      delete :simple_endpoint do
        path "/simple"
        
        responses 201 => true
      end

    end
    """
    And the service endpoint at port 8765 is running
    When I call service "SimpleService.simple_endpoint"
    And the endpoint should receive request
    """
    DELETE /simple HTTP/1.1
    """
    

 

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
restful_mapper-0.0.3 features/delete_request.feature
restful_mapper-0.0.2 features/delete_request.feature
restful_mapper-0.0.1 features/delete_request.feature