From 8fb5b1fe7c0a5e1c1e8bc4ac320f5089e40d875c Mon Sep 17 00:00:00 2001 From: Bianca Nenciu Date: Tue, 5 Dec 2023 18:30:52 +0200 Subject: [PATCH] DEV: Fix assertion in embedding test (#24694) The modified test used to be the same as the test above. The bad test was introduced in commit 77d4c4d8dc00491b99aa15dfd78eb22a47ffe663, during a refactoring. This was not a serious problem because the same behavior was still tested partially by the other tests below. --- spec/requests/embed_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/requests/embed_controller_spec.rb b/spec/requests/embed_controller_spec.rb index e73c43024d4..53284cc46f0 100644 --- a/spec/requests/embed_controller_spec.rb +++ b/spec/requests/embed_controller_spec.rb @@ -356,7 +356,7 @@ RSpec.describe EmbedController do embed_url: embed_url, }, headers: { - "REFERER" => "http://eviltrout.com/wat/1-2-3.html", + "REFERER" => "https://discourse.org/blog-entry-1", } expect(response.status).to eq(200)