From 7cc4362d4527e39f9ef674e2d28fc2401e8409cc Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Mon, 12 Dec 2022 12:21:56 +0000 Subject: [PATCH] tests: update params in tests --- spec/requests/organisation_relationships_controller_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/requests/organisation_relationships_controller_spec.rb b/spec/requests/organisation_relationships_controller_spec.rb index 99c57a01a..9c95e4b65 100644 --- a/spec/requests/organisation_relationships_controller_spec.rb +++ b/spec/requests/organisation_relationships_controller_spec.rb @@ -368,7 +368,7 @@ RSpec.describe OrganisationRelationshipsController, type: :request do let(:params) do { - "organisation": { + "organisation_relationship": { "related_organisation_id": housing_provider.id, }, } @@ -396,7 +396,7 @@ RSpec.describe OrganisationRelationshipsController, type: :request do let(:params) do { - "organisation": { + "organisation_relationship": { "related_organisation_id": managing_agent.id, }, }