Were added the right input data.

This commit is contained in:
m3ik0
2015-01-09 15:45:24 -04:00
parent ffd924db55
commit 92e86f62cb
6 changed files with 13 additions and 13 deletions

View File

@@ -14,7 +14,7 @@ Feature: Calendar
Then the response status code should be 200 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the type is "array" And the type is "array"
And the response has 1 records And the response has 2 records
# POST /api/1.0/{workspace}/calendar # POST /api/1.0/{workspace}/calendar
@@ -121,4 +121,4 @@ Feature: Calendar
Then the response status code should be 200 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the type is "array" And the type is "array"
And the response has 1 records And the response has 2 records

View File

@@ -14,7 +14,7 @@ Feature: Calendar Main Tests
Then the response status code should be 200 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the type is "array" And the type is "array"
And the response has 1 records And the response has 2 records
# GET /api/1.0/{workspace}/calendar/<cal_uid> # GET /api/1.0/{workspace}/calendar/<cal_uid>
@@ -239,7 +239,7 @@ Feature: Calendar Main Tests
Then the response status code should be 200 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the type is "array" And the type is "array"
And the response has 8 records And the response has 9 records
# DELETE /api/1.0/{workspace}/calendar # DELETE /api/1.0/{workspace}/calendar
@@ -268,4 +268,4 @@ Feature: Calendar Main Tests
Then the response status code should be 200 Then the response status code should be 200
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the type is "array" And the type is "array"
And the response has 1 records And the response has 2 records

View File

@@ -182,4 +182,4 @@ Feature: Calendar Negative Tests
Given that I want to delete a "Calendar" Given that I want to delete a "Calendar"
And I request "calendar/14606161052f50839307899033145440" And I request "calendar/14606161052f50839307899033145440"
Then the response status code should be 400 Then the response status code should be 400
And the response status message should have the following text "does not exist" And the response status message should have the following text "cannot be deleted"

View File

@@ -16,7 +16,7 @@ Feature: Process Category
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the content type is "application/json" And the content type is "application/json"
And the type is "array" And the type is "array"
And the response has 0 records And the response has 1 records
# POST /api/1.0/{workspace}/project/category # POST /api/1.0/{workspace}/project/category
@@ -44,7 +44,7 @@ Feature: Process Category
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the content type is "application/json" And the content type is "application/json"
And the type is "array" And the type is "array"
And the response has 1 records And the response has 2 records
# PUT /api/1.0/{workspace}/project/categories # PUT /api/1.0/{workspace}/project/categories
@@ -93,4 +93,4 @@ Feature: Process Category
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the content type is "application/json" And the content type is "application/json"
And the type is "array" And the type is "array"
And the response has 0 records And the response has 1 records

View File

@@ -16,7 +16,7 @@ Feature: Process Category Main Test
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the content type is "application/json" And the content type is "application/json"
And the type is "array" And the type is "array"
And the response has 0 records And the response has 1 records
# POST /api/1.0/{workspace}/project/category # POST /api/1.0/{workspace}/project/category
@@ -54,7 +54,7 @@ Feature: Process Category Main Test
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the content type is "application/json" And the content type is "application/json"
And the type is "array" And the type is "array"
And the response has 7 records And the response has 8 records
# POST /api/1.0/{workspace}/project/category # POST /api/1.0/{workspace}/project/category
@@ -156,4 +156,4 @@ Feature: Process Category Main Test
And the response charset is "UTF-8" And the response charset is "UTF-8"
And the content type is "application/json" And the content type is "application/json"
And the type is "array" And the type is "array"
And the response has 0 records And the response has 1 records

View File

@@ -30,4 +30,4 @@ Feature: Process Category Negative Tests
Given that I want to delete a "Category" Given that I want to delete a "Category"
And I request "project/category/4177095085330818c324501061677193" And I request "project/category/4177095085330818c324501061677193"
Then the response status code should be 400 Then the response status code should be 400
And the response status message should have the following text "does not exist" And the response status message should have the following text "cannot be deleted"