Browse Source

test: update paths in tests

pull/957/head
natdeanlewissoftwire 3 years ago
parent
commit
fdb77a150c
  1. 4
      spec/requests/organisation_relationships_controller_spec.rb

4
spec/requests/organisation_relationships_controller_spec.rb

@ -186,7 +186,7 @@ RSpec.describe OrganisationRelationshipsController, type: :request do
it "redirects to the organisation list" do
request
expect(response).to redirect_to("/organisations/#{organisation.id}/managing-agents?related_organisation_id=#{managing_agent.id}")
expect(response).to redirect_to("/organisations/#{organisation.id}/managing-agents")
end
end
@ -388,7 +388,7 @@ RSpec.describe OrganisationRelationshipsController, type: :request do
it "redirects to the organisation list" do
request
expect(response).to redirect_to("/organisations/#{organisation.id}/managing-agents?related_organisation_id=#{managing_agent.id}")
expect(response).to redirect_to("/organisations/#{organisation.id}/managing-agents")
end
end

Loading…
Cancel
Save