From 694dcacf456be3df2721225c3b78de3687698099 Mon Sep 17 00:00:00 2001 From: Brian Austin Date: Sat, 14 Dec 2024 17:28:36 -0500 Subject: [PATCH] AO3-6232 Fix support ticket tests --- spec/controllers/feedbacks_controller_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/controllers/feedbacks_controller_spec.rb b/spec/controllers/feedbacks_controller_spec.rb index 8f16a207fd..e6e575fed4 100644 --- a/spec/controllers/feedbacks_controller_spec.rb +++ b/spec/controllers/feedbacks_controller_spec.rb @@ -93,7 +93,7 @@ it "sets the referer in the Zoho ticket" do expect(mock_zoho).to receive(:create_ticket).with(ticket_attributes: include( "cf" => include( - "cf_referer" => "https://archiveofourown.org/works/1", + "cf_url" => "https://archiveofourown.org/works/1", "cf_ip" => "0.0.0.0" ) )) @@ -109,7 +109,7 @@ it "does not set the referer in the Zoho ticket" do expect(mock_zoho).to receive(:create_ticket).with(ticket_attributes: include( "cf" => include( - "cf_referer" => "Unknown URL", + "cf_url" => "Unknown URL", "cf_ip" => "0.0.0.0" ) ))