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 77d4c4d8dc,
during a refactoring.

This was not a serious problem because the same behavior was still
tested partially by the other tests below.
This commit is contained in:
Bianca Nenciu 2023-12-05 18:30:52 +02:00 committed by GitHub
parent 863c0cdecc
commit 8fb5b1fe7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)