discourse/spec/fabricators/theme_fabricator.rb
Osama Sayegh 0b7ed8ffaf FEATURE: backend support for user-selectable components
* FEATURE: backend support for user-selectable components

* fix problems with previewing default theme

* rename preview_key => preview_theme_id

* omit default theme from child themes dropdown and try a different fix

* cache & freeze stylesheets arrays
2018-08-08 14:46:34 +10:00

5 lines
90 B
Ruby

Fabricator(:theme) do
name { sequence(:name) { |i| "Cool theme #{i + 1}" } }
user
end