FEATURE: out-of-the-box dark/light user selectable themes

This commit is contained in:
Sam
2017-05-03 11:31:16 -04:00
parent 81190f5d66
commit 342ef5f81a
13 changed files with 68 additions and 35 deletions

View File

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