Browse Source

test: fix params in failing tests

pull/1073/head
natdeanlewissoftwire 4 years ago
parent
commit
abea4400c6
  1. 12
      spec/requests/organisation_relationships_controller_spec.rb

12
spec/requests/organisation_relationships_controller_spec.rb

@ -139,8 +139,8 @@ RSpec.describe OrganisationRelationshipsController, type: :request do
let(:params) do let(:params) do
{ {
"organisation": { "organisation_relationship": {
"related_organisation_id": housing_provider.id, "parent_organisation_id": housing_provider.id,
}, },
} }
end end
@ -167,8 +167,8 @@ RSpec.describe OrganisationRelationshipsController, type: :request do
let(:params) do let(:params) do
{ {
"organisation": { "organisation_relationship": {
"related_organisation_id": managing_agent.id, "child_organisation_id": managing_agent.id,
}, },
} }
end end
@ -369,7 +369,7 @@ RSpec.describe OrganisationRelationshipsController, type: :request do
let(:params) do let(:params) do
{ {
"organisation_relationship": { "organisation_relationship": {
"related_organisation_id": housing_provider.id, "parent_organisation_id": housing_provider.id,
}, },
} }
end end
@ -397,7 +397,7 @@ RSpec.describe OrganisationRelationshipsController, type: :request do
let(:params) do let(:params) do
{ {
"organisation_relationship": { "organisation_relationship": {
"related_organisation_id": managing_agent.id, "child_organisation_id": managing_agent.id,
}, },
} }
end end

Loading…
Cancel
Save