Skip to content

Commit

Permalink
fix error message in merge spec
Browse files Browse the repository at this point in the history
  • Loading branch information
armandofox committed Dec 29, 2023
1 parent 5dc4bc4 commit cf4c1b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/customer_merge_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf4c1b5

Please sign in to comment.