DEV: Apply Rails 6.1 defaults

We never applied `config.load_defaults` since its inception (Rails 5.0)
and doing so is necessary to properly upgrade to all the Rails 7 new
defaults.
This commit is contained in:
Loïc Guitaut
2022-05-19 16:58:31 +02:00
committed by Loïc Guitaut
parent d303466c30
commit 0403a8633b
4 changed files with 20 additions and 9 deletions

View File

@ -4,7 +4,7 @@ describe 'multisite', type: [:multisite, :request] do
it "works" do
get "http://test.localhost/session/csrf.json"
expect(response.status).to eq(200)
cookie = response.cookies["_forum_session"]
cookie = CGI.escape(response.cookies["_forum_session"])
id1 = session["session_id"]
get "http://test.localhost/session/csrf.json", headers: { "Cookie" => "_forum_session=#{cookie};" }