Skip to content

Commit

Permalink
rename program to programme
Browse files Browse the repository at this point in the history
  • Loading branch information
sabrine33 committed Aug 13, 2024
1 parent 65a8bac commit 5bf137c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/api/study_io.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,6 @@ def render_class
map_attribute_to_json_attribute(:s3_email_list)
map_attribute_to_json_attribute(:data_deletion_period)
map_attribute_to_json_attribute(:contaminated_human_data_access_group)
with_association(:program, lookup_by: :id) { map_attribute_to_json_attribute(:name, 'program') }
with_association(:program, lookup_by: :id) { map_attribute_to_json_attribute(:name, 'programme') }
end
end
2 changes: 1 addition & 1 deletion spec/models/api/study_io_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
's3_email_list' => '[email protected];[email protected]',
'data_deletion_period' => '3 months',
'contaminated_human_data_access_group' => 'contaminated human data access group test',
'program' => 'General',
'programme' => 'General',
'manager' => [
{ login: manager.login, email: manager.email, name: manager.name },
{ login: manager2.login, email: manager2.email, name: manager2.name }
Expand Down

0 comments on commit 5bf137c

Please sign in to comment.