mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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 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:
parent
863c0cdecc
commit
8fb5b1fe7c
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user