diff --git a/spec/requests/affinities_spec.rb b/spec/requests/affinities_spec.rb index 39f6afd..6e113d2 100644 --- a/spec/requests/affinities_spec.rb +++ b/spec/requests/affinities_spec.rb @@ -36,10 +36,10 @@ RSpec.describe 'affinities', type: :request do type: :array, items: { type: :object, - required: %i[group_id discomfort], + required: %i[group_id affinity], properties: { group_id: { type: :string, format: :uuid, description: 'ID of the associated group' }, - discomfort: { type: :integer, minimum: 0, maximum: 2 } + affinity: { type: :integer, minimum: 0, maximum: 2 } } } }