mirror of
https://github.com/discourse/discourse.git
synced 2025-07-14 01:10:53 +08:00
FEATURE: out-of-the-box dark/light user selectable themes
This commit is contained in:
@ -152,6 +152,8 @@ HTML
|
||||
end
|
||||
|
||||
it 'correctly caches theme keys' do
|
||||
Theme.destroy_all
|
||||
|
||||
theme = Theme.create!(name: "bob", user_id: -1)
|
||||
|
||||
expect(Theme.theme_keys).to eq(Set.new([theme.key]))
|
||||
|
Reference in New Issue
Block a user