From 92e86f62cbb4dc6f05c08fcbb06ff7b4304aa9f1 Mon Sep 17 00:00:00 2001 From: m3ik0 Date: Fri, 9 Jan 2015 15:45:24 -0400 Subject: [PATCH] Were added the right input data. --- .../admin_setup/calendar/basic_sequence_calendar.feature | 4 ++-- .../admin_setup/calendar/main_tests_calendar.feature | 6 +++--- .../admin_setup/calendar/negative_tests_calendar.feature | 2 +- .../admin_setup/category/basic_sequence_category.feature | 6 +++--- .../admin_setup/category/main_tests_category.feature | 6 +++--- .../admin_setup/category/negative_tests_category.feature | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/features/backend/admin_setup/calendar/basic_sequence_calendar.feature b/features/backend/admin_setup/calendar/basic_sequence_calendar.feature index 5f4671381..021fa8480 100644 --- a/features/backend/admin_setup/calendar/basic_sequence_calendar.feature +++ b/features/backend/admin_setup/calendar/basic_sequence_calendar.feature @@ -14,7 +14,7 @@ Feature: Calendar Then the response status code should be 200 And the response charset is "UTF-8" And the type is "array" - And the response has 1 records + And the response has 2 records # POST /api/1.0/{workspace}/calendar @@ -121,4 +121,4 @@ Feature: Calendar Then the response status code should be 200 And the response charset is "UTF-8" And the type is "array" - And the response has 1 records \ No newline at end of file + And the response has 2 records \ No newline at end of file diff --git a/features/backend/admin_setup/calendar/main_tests_calendar.feature b/features/backend/admin_setup/calendar/main_tests_calendar.feature index 2050e44ed..d6429d219 100644 --- a/features/backend/admin_setup/calendar/main_tests_calendar.feature +++ b/features/backend/admin_setup/calendar/main_tests_calendar.feature @@ -14,7 +14,7 @@ Feature: Calendar Main Tests Then the response status code should be 200 And the response charset is "UTF-8" And the type is "array" - And the response has 1 records + And the response has 2 records # GET /api/1.0/{workspace}/calendar/ @@ -239,7 +239,7 @@ Feature: Calendar Main Tests Then the response status code should be 200 And the response charset is "UTF-8" And the type is "array" - And the response has 8 records + And the response has 9 records # DELETE /api/1.0/{workspace}/calendar @@ -268,4 +268,4 @@ Feature: Calendar Main Tests Then the response status code should be 200 And the response charset is "UTF-8" And the type is "array" - And the response has 1 records \ No newline at end of file + And the response has 2 records \ No newline at end of file diff --git a/features/backend/admin_setup/calendar/negative_tests_calendar.feature b/features/backend/admin_setup/calendar/negative_tests_calendar.feature index c761f9a44..60edfa0d7 100644 --- a/features/backend/admin_setup/calendar/negative_tests_calendar.feature +++ b/features/backend/admin_setup/calendar/negative_tests_calendar.feature @@ -182,4 +182,4 @@ Feature: Calendar Negative Tests Given that I want to delete a "Calendar" And I request "calendar/14606161052f50839307899033145440" Then the response status code should be 400 - And the response status message should have the following text "does not exist" \ No newline at end of file + And the response status message should have the following text "cannot be deleted" \ No newline at end of file diff --git a/features/backend/admin_setup/category/basic_sequence_category.feature b/features/backend/admin_setup/category/basic_sequence_category.feature index 08c39793a..b57d256f1 100644 --- a/features/backend/admin_setup/category/basic_sequence_category.feature +++ b/features/backend/admin_setup/category/basic_sequence_category.feature @@ -16,7 +16,7 @@ Feature: Process Category And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has 0 records + And the response has 1 records # POST /api/1.0/{workspace}/project/category @@ -44,7 +44,7 @@ Feature: Process Category And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has 1 records + And the response has 2 records # PUT /api/1.0/{workspace}/project/categories @@ -93,4 +93,4 @@ Feature: Process Category And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has 0 records \ No newline at end of file + And the response has 1 records \ No newline at end of file diff --git a/features/backend/admin_setup/category/main_tests_category.feature b/features/backend/admin_setup/category/main_tests_category.feature index 63d0e35bc..2c73e4411 100644 --- a/features/backend/admin_setup/category/main_tests_category.feature +++ b/features/backend/admin_setup/category/main_tests_category.feature @@ -16,7 +16,7 @@ Feature: Process Category Main Test And the response charset is "UTF-8" And the content type is "application/json" And the type is "array" - And the response has 0 records + And the response has 1 records # 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 content type is "application/json" And the type is "array" - And the response has 7 records + And the response has 8 records # 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 content type is "application/json" And the type is "array" - And the response has 0 records \ No newline at end of file + And the response has 1 records \ No newline at end of file diff --git a/features/backend/admin_setup/category/negative_tests_category.feature b/features/backend/admin_setup/category/negative_tests_category.feature index 0c9420dca..c4c8aff06 100644 --- a/features/backend/admin_setup/category/negative_tests_category.feature +++ b/features/backend/admin_setup/category/negative_tests_category.feature @@ -30,4 +30,4 @@ Feature: Process Category Negative Tests Given that I want to delete a "Category" And I request "project/category/4177095085330818c324501061677193" Then the response status code should be 400 - And the response status message should have the following text "does not exist" \ No newline at end of file + And the response status message should have the following text "cannot be deleted" \ No newline at end of file