FEATURE: themes and components split

* FEATURE: themes and components split

* two seperate methods to switch theme type

* use strict equality operator
This commit is contained in:
Osama Sayegh
2018-08-24 11:30:00 +10:00
committed by Sam
parent 4a552fb967
commit e0cc29d658
29 changed files with 445 additions and 157 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ describe UserUpdater do
expect(user.user_option.theme_ids).to eq([])
theme = Fabricate(:theme)
child = Fabricate(:theme)
child = Fabricate(:theme, component: true)
theme.add_child_theme!(child)
theme.set_default!