mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 23:19:25 +08:00
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:
parent
24413e5a11
commit
e3c71221e5
@ -2433,7 +2433,7 @@ uncategorized:
|
||||
hidden: true
|
||||
|
||||
splash_screen:
|
||||
default: false
|
||||
default: true
|
||||
|
||||
suggest_weekends_in_date_pickers:
|
||||
client: true
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user