mirror of
https://github.com/discourse/discourse.git
synced 2025-06-08 10:24:38 +08:00
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.
This commit is contained in:
@ -356,7 +356,7 @@ RSpec.describe EmbedController do
|
|||||||
embed_url: embed_url,
|
embed_url: embed_url,
|
||||||
},
|
},
|
||||||
headers: {
|
headers: {
|
||||||
"REFERER" => "http://eviltrout.com/wat/1-2-3.html",
|
"REFERER" => "https://discourse.org/blog-entry-1",
|
||||||
}
|
}
|
||||||
|
|
||||||
expect(response.status).to eq(200)
|
expect(response.status).to eq(200)
|
||||||
|
Reference in New Issue
Block a user