UX: Makes splash screen setting enabled by default (#17327)

We now want the splash screen to be enabled by default.
This commit is contained in:
Joe 2022-07-05 02:06:28 +08:00 committed by GitHub
parent 24413e5a11
commit e3c71221e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -2433,7 +2433,7 @@ uncategorized:
hidden: true
splash_screen:
default: false
default: true
suggest_weekends_in_date_pickers:
client: true

View File

@ -540,14 +540,14 @@ RSpec.describe ApplicationController do
get '/'
expect(response.status).to eq(200)
expect(response.body).not_to include("d-splash")
expect(response.body).to include("d-splash")
SiteSetting.splash_screen = true
SiteSetting.splash_screen = false
get '/'
expect(response.status).to eq(200)
expect(response.body).to include("d-splash")
expect(response.body).not_to include("d-splash")
end
end