mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 22:47:46 +08:00
Revert "DEV: Upgrade Rails to version 7.1 (#27539)"
This reverts commit ca4af53be8cb91aa3fe48ecbcf5a578189be32fa.
This commit is contained in:

committed by
Loïc Guitaut

parent
60d5170587
commit
160011793a
@ -190,6 +190,8 @@ RSpec.describe EmbedController do
|
||||
context "with a host" do
|
||||
fab!(:embeddable_host)
|
||||
|
||||
before { Jobs.run_immediately! }
|
||||
|
||||
it "doesn't raise an error with no referer" do
|
||||
get "/embed/comments", params: { embed_url: embed_url }
|
||||
|
||||
@ -244,8 +246,6 @@ RSpec.describe EmbedController do
|
||||
end
|
||||
|
||||
context "with success" do
|
||||
before { Jobs.run_immediately! }
|
||||
|
||||
it "tells the topic retriever to work when no previous embed is found" do
|
||||
TopicRetriever.any_instance.expects(:retrieve)
|
||||
|
||||
|
Reference in New Issue
Block a user