Revert "DEV: Upgrade Rails to version 7.1 (#27539)"

This reverts commit 2301dddcff8c0efe551c3c3baeeea63dadbe0ea6.
This commit is contained in:
Loïc Guitaut
2024-06-20 11:42:17 +02:00
committed by Loïc Guitaut
parent e46a5e5343
commit 982c005979
46 changed files with 256 additions and 436 deletions

View File

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