From 065d55bee5ecf1ef0a77d65734f2309dcab4315d Mon Sep 17 00:00:00 2001 From: veronicaaruquipa Date: Mon, 8 Dec 2014 00:20:52 -0400 Subject: [PATCH] Fixing code source indentation. --- ...asic_sequence_database_connections.feature | 106 +++++++++--------- 1 file changed, 53 insertions(+), 53 deletions(-) diff --git a/features/backend/projects/database_connections/basic_sequence_database_connections.feature b/features/backend/projects/database_connections/basic_sequence_database_connections.feature index 5e9418c52..c3766eb95 100644 --- a/features/backend/projects/database_connections/basic_sequence_database_connections.feature +++ b/features/backend/projects/database_connections/basic_sequence_database_connections.feature @@ -1,18 +1,18 @@ @ProcessMakerMichelangelo @RestAPI Feature: DataBase Connections - Scenario: List all the database connections (result 0 database connections) - Given that I have a valid access_token - And I request "project/74737540052e1641ab88249082085472/database-connections" - Then the response status code should be 200 - And the response charset is "UTF-8" - And the response has 0 record + Scenario: List all the database connections (result 0 database connections) + Given that I have a valid access_token + And I request "project/74737540052e1641ab88249082085472/database-connections" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the response has 0 record - Scenario: Create a new database connection - Given that I have a valid access_token - And POST this data: - """ + Scenario: Create a new database connection + Given that I have a valid access_token + And POST this data: + """ { "dbs_type": "mysql", "dbs_server": "michelangelo-be.colosa.net", @@ -24,23 +24,23 @@ Feature: DataBase Connections "dbs_description": "conection correcta" } """ - And I request "project/74737540052e1641ab88249082085472/database-connection" - Then the response status code should be 201 - And store "dbs_uid" in session array + And I request "project/74737540052e1641ab88249082085472/database-connection" + Then the response status code should be 201 + And store "dbs_uid" in session array - @3: TEST FOR GET DATABASE CONNECTIONS /---------------------------------------------------------------------- - Scenario: List all the database connections (result 1 database connection) - Given that I have a valid access_token - And I request "project/74737540052e1641ab88249082085472/database-connections" - Then the response status code should be 200 - And the response charset is "UTF-8" - And the response has 1 record + @3: TEST FOR GET DATABASE CONNECTIONS /---------------------------------------------------------------------- + Scenario: List all the database connections (result 1 database connection) + Given that I have a valid access_token + And I request "project/74737540052e1641ab88249082085472/database-connections" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the response has 1 record - @4: TEST FOR PUT DATABASE CONNECTION /----------------------------------------------------------------------- - Scenario: Update a database connection - Given that I have a valid access_token - And PUT this data: - """ + @4: TEST FOR PUT DATABASE CONNECTION /----------------------------------------------------------------------- + Scenario: Update a database connection + Given that I have a valid access_token + And PUT this data: + """ { "dbs_type": "mysql", "dbs_server": "michelangelo-be.colosa.net", @@ -52,36 +52,36 @@ Feature: DataBase Connections "dbs_description": "conection correcta a workflow" } """ - And that I want to update a resource with the key "dbs_uid" stored in session array - And I request "project/74737540052e1641ab88249082085472/database-connection" - Then the response status code should be 200 - And the response charset is "UTF-8" - And the type is "object" + And that I want to update a resource with the key "dbs_uid" stored in session array + And I request "project/74737540052e1641ab88249082085472/database-connection" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "object" - Scenario: Get a database connection (with change in "dbs_description" and "dbs_database_name") - Given that I have a valid access_token - And that I want to get a resource with the key "dbs_uid" stored in session array - And I request "project/74737540052e1641ab88249082085472/database-connection" - Then the response status code should be 200 - And the response charset is "UTF-8" - And the type is "object" - And that "dbs_description" is set to "conection correcta a workflow" - And that "dbs_database_name" is set to "wf_cochalo" + Scenario: Get a database connection (with change in "dbs_description" and "dbs_database_name") + Given that I have a valid access_token + And that I want to get a resource with the key "dbs_uid" stored in session array + And I request "project/74737540052e1641ab88249082085472/database-connection" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "object" + And that "dbs_description" is set to "conection correcta a workflow" + And that "dbs_database_name" is set to "wf_cochalo" - Scenario: Delete a database connection - Given that I have a valid access_token - And that I want to delete a resource with the key "dbs_uid" stored in session array - And I request "project/74737540052e1641ab88249082085472/database-connection" - Then the response status code should be 200 - And the response charset is "UTF-8" - And the type is "object" + Scenario: Delete a database connection + Given that I have a valid access_token + And that I want to delete a resource with the key "dbs_uid" stored in session array + And I request "project/74737540052e1641ab88249082085472/database-connection" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the type is "object" - @7: TEST FOR GET DATABASE CONNECTIONS /---------------------------------------------------------------------- - Scenario: List all the database connections (result 0 database connections) - Given that I have a valid access_token - And I request "project/74737540052e1641ab88249082085472/database-connections" - Then the response status code should be 200 - And the response charset is "UTF-8" - And the response has 0 record \ No newline at end of file + @7: TEST FOR GET DATABASE CONNECTIONS /---------------------------------------------------------------------- + Scenario: List all the database connections (result 0 database connections) + Given that I have a valid access_token + And I request "project/74737540052e1641ab88249082085472/database-connections" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the response has 0 record \ No newline at end of file