features/print_response.feature in rest_baby-0.2 vs features/print_response.feature in rest_baby-0.3
- old
+ new
@@ -9,18 +9,11 @@
"""
And I am a rest client
# And I pause
When I "GET" from the web service
Then I receive the expected message
- And the response prints like the following
- """
-CODE = 200
-MESSAGE =
-BODY = {'Answer': 'What did you expect?'}
- """
-
@put @extended @print
Scenario: client rest Put
Given I have a web service
And I have "PUT" service for "/test" as follows
"""
@@ -30,16 +23,10 @@
When I "PUT" to the web service with the following
"""
{'Answer': 'What did you expect?'}
"""
Then I receive the expected message
- And the response prints like the following
- """
-CODE = 200
-MESSAGE =
-BODY = {'Answer': 'What did you expect?'}
- """
@post @extended @print
Scenario: client rest Post
Given I have a web service
And I have "POST" service for "/test" as follows
@@ -50,16 +37,10 @@
When I "POST" to the web service with the following
"""
{'Answer': 'What did you expect?'}
"""
Then I receive the expected message
- And the response prints like the following
- """
-CODE = 200
-MESSAGE =
-BODY = {'Answer': 'What did you expect?'}
- """
@delete @extended @print
Scenario: client rest Delete
Given I have a web service
And I have "DELETE" service for "/test" as follows
@@ -67,11 +48,5 @@
{'Answer': 'What did you expect?'}
"""
And I am a rest client
When I "DELETE" from the web service
Then I receive the expected message
- And the response prints like the following
- """
-CODE = 200
-MESSAGE =
-BODY = {'Answer': 'What did you expect?'}
- """