From 1e7154902fc92fa9f25f17bd654f8e9a3e50a576 Mon Sep 17 00:00:00 2001 From: Daniel Rojas Date: Tue, 1 Apr 2014 15:30:58 -0400 Subject: [PATCH] Se modifica BEHAT basico para ASSIGNEE y ADHOC ASSIGNEE --- .../adhoc_assignee/main_tests_adhoc_assignee.feature | 10 ++++++++-- .../projects/assignee/activity_assignee.feature | 7 +++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/features/backend/projects/adhoc_assignee/main_tests_adhoc_assignee.feature b/features/backend/projects/adhoc_assignee/main_tests_adhoc_assignee.feature index af3d9b027..a11080cc4 100644 --- a/features/backend/projects/adhoc_assignee/main_tests_adhoc_assignee.feature +++ b/features/backend/projects/adhoc_assignee/main_tests_adhoc_assignee.feature @@ -123,7 +123,13 @@ Requirements: And the content type is "application/json" And the type is "array" And the response has 1 records - - + + Scenario: List assignees of an activity + Given I request "project/4224292655297723eb98691001100052/activity/65496814252977243d57684076211485/adhoc-assignee/all" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the content type is "application/json" + And the type is "array" + \ No newline at end of file diff --git a/features/backend/projects/assignee/activity_assignee.feature b/features/backend/projects/assignee/activity_assignee.feature index 5a2c75b42..5e6f62ceb 100644 --- a/features/backend/projects/assignee/activity_assignee.feature +++ b/features/backend/projects/assignee/activity_assignee.feature @@ -129,3 +129,10 @@ Scenario Outline: List assignees of an activity using a filter And the type is "array" And the response has 4 records + + Scenario: List assignees of an activity including users that are within groups + Given I request "project/4224292655297723eb98691001100052/activity/65496814252977243d57684076211485/assignee/all" + Then the response status code should be 200 + And the response charset is "UTF-8" + And the content type is "application/json" + And the type is "array"