Browse Source

Update copy for error message (#2583)

pull/2584/head
kosiakkatrina 2 years ago committed by GitHub
parent
commit
182bb32c0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      config/locales/en.yml
  2. 2
      spec/requests/merge_requests_controller_spec.rb

2
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"

2
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

Loading…
Cancel
Save