discourse/spec/fabricators/theme_field_fabricator.rb
Jeff Wong e25218014e
FIX: add theme field errors (#12880)
* FIX: add theme field errors

Expose theme field errors on theme pages
Previously these errors were not being displayed on themes.
2021-04-28 15:00:37 -07:00

10 lines
191 B
Ruby

# frozen_string_literal: true
Fabricator(:theme_field) do
theme
target_id { 0 }
name { sequence(:name) { |i| "scss_#{i + 1}" } }
value { ".test {color: blue;}" }
error { nil }
end