Sha256: 33851bf5701455cc301501fe39d7aa2d7cc7eb99ee1e18dec25f07a92a841dfe

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

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

@core @get
@rest.S1
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
@rest.S2
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
@rest.S3
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
@rest.S4
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

1 entries across 1 versions & 1 rubygems

Version Path
rest_baby-0.5 features/rest_client.feature