Skip to content

Commit

Permalink
Add type and description to inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
elsaperelli committed Nov 25, 2024
1 parent 9b34e4e commit d057303
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ class QuestionnaireResponseCreateTest < Inferno::Test
description 'A sever SHALL support the QuestionnaireResponse create interaction'

id :questionnaire_response_create
input :create_questionnaire_resources
input :create_questionnaire_resources,
type: 'textarea',
description:
'Provide a list of QuestionnaireResponse resources to create. e.g., [json_resource_1, json_resource_2]'

def resource_type
'QuestionnaireResponse'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ class QuestionnaireResponseUpdateTest < Inferno::Test
description 'A server SHALL support the QuestionnaireResponse update interaction'

id :questionnaire_response_update
input :update_questionnaire_resources
input :update_questionnaire_resources,
type: 'textarea',
description:
'Provide a list of QuestionnaireResponse resources to update. e.g., [json_resource_1, json_resource_2]'

def resource_type
'QuestionnaireResponse'
Expand Down
5 changes: 4 additions & 1 deletion lib/davinci_dtr_test_kit/profiles/task/task_create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ class TaskCreateTest < Inferno::Test
description 'A server SHOULD support the Task create interaction'

id :task_create
input :create_task_resources
input :create_task_resources,
type: 'textarea',
description:
'Provide a list of Task resources to create. e.g., [json_resource_1, json_resource_2]'

def resource_type
'Task'
Expand Down
5 changes: 4 additions & 1 deletion lib/davinci_dtr_test_kit/profiles/task/task_update.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ class TaskUpdateTest < Inferno::Test
description 'A server SHOULD support the Task update interaction'

id :task_update
input :update_task_resources
input :update_task_resources,
type: 'textarea',
description:
'Provide a list of Task resources to update. e.g., [json_resource_1, json_resource_2]'

def resource_type
'Task'
Expand Down

0 comments on commit d057303

Please sign in to comment.