discourse/spec/fabricators/theme_field_fabricator.rb

10 lines
191 B
Ruby
Raw Normal View History

# 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