Skip to content

Commit

Permalink
AO3-6232 Fix support ticket tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjaustin committed Dec 14, 2024
1 parent 56ecdc6 commit 694dcac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/controllers/feedbacks_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
))
Expand All @@ -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"
)
))
Expand Down

0 comments on commit 694dcac

Please sign in to comment.