Sha256: 14b76c66c19e36612989fc54f4de60cb166c7b0edaf793286ef958e313d8def1

Contents?: true

Size: 1.05 KB

Versions: 4

Compression:

Stored size: 1.05 KB

Contents

Feature: Create a basic rest client that can get, put, post, and delete

@core @get
Scenario: client rest GET
  Given I have a web service
  And I have "GET" service for "/test"
  And I am a rest client
  When I "GET" from the web service
  Then I receive the expected message

@core @put
Scenario: client rest PUT
  Given I have a web service
  And I have "PUT" service for "/test"
  And I am a rest client
  When I "PUT" to the web service with the following
    """
    {'Question': 'What is the meaning of life?'}
    """
  Then I receive the expected message

@core @post
Scenario: client rest POST
  Given I have a web service
  And I have "POST" service for "/test"
  And I am a rest client
  When I "POST" to the web service with the following
    """
    {'Question': 'What is the meaning of life?'}
    """
  Then I receive the expected message

@core @delete
Scenario: client rest DELETE
  Given I have a web service
  And I have "DELETE" service for "/test"
  And I am a rest client
  When I "DELETE" from the web service
  Then I receive the expected message

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rest_baby-0.4 features/rest_client.feature
rest_baby-0.3 features/rest_client.feature
rest_baby-0.2 features/rest_client.feature
rest_baby-0.1 features/rest_client.feature