From fc99b7393ecc0dc005e9ed66debda71608fea712 Mon Sep 17 00:00:00 2001 From: kosiakkatrina <54268893+kosiakkatrina@users.noreply.github.com> Date: Thu, 15 Aug 2024 16:18:21 +0100 Subject: [PATCH] Update copy for error message (#2583) --- config/locales/en.yml | 2 +- spec/requests/merge_requests_controller_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index 211e18da3..649ec358a 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -175,7 +175,7 @@ en: merge_request: attributes: absorbing_organisation_id: - blank: "Select the organisation absorbing the others" + blank: "Select the absorbing organisation" merge_date: blank: "Enter a merge date" invalid: "Enter a valid merge date" diff --git a/spec/requests/merge_requests_controller_spec.rb b/spec/requests/merge_requests_controller_spec.rb index 27cace08e..899def900 100644 --- a/spec/requests/merge_requests_controller_spec.rb +++ b/spec/requests/merge_requests_controller_spec.rb @@ -246,7 +246,7 @@ RSpec.describe MergeRequestsController, type: :request do it "renders the error" do request - expect(page).to have_content("Select the organisation absorbing the others") + expect(page).to have_content("Select the absorbing organisation") end it "does not update the request" do