From cf4c1b5c94508831a7f88ef48364499e0472680d Mon Sep 17 00:00:00 2001 From: Armando Fox Date: Thu, 28 Dec 2023 17:46:56 -0800 Subject: [PATCH] fix error message in merge spec --- spec/models/customer_merge_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/customer_merge_spec.rb b/spec/models/customer_merge_spec.rb index fde8eb49c..5cc400976 100644 --- a/spec/models/customer_merge_spec.rb +++ b/spec/models/customer_merge_spec.rb @@ -184,7 +184,7 @@ def check_exists_and_linked_to_anonymous(t,objs) it "should refuse if LHS is any special customer other than Anonymous" do c0 = Customer.boxoffice_daemon expect(c0.merge_automatically!(@c1)).to be_nil - expect(c0.errors.full_messages).to include_match_for(/merges disallowed.*except anonymous/i) + expect(c0.errors.full_messages).to include_match_for(/cannot be merged with other customers/i) end end describe "items" do