mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-22 05:22:33 -05:00
14 lines
360 B
Ruby
14 lines
360 B
Ruby
Fabricator(:site_content) do
|
|
content_type 'great.poem'
|
|
content "%{flower} are red. %{food} are blue."
|
|
end
|
|
|
|
Fabricator(:site_content_basic, from: :site_content) do
|
|
content_type 'breaking.bad'
|
|
content "best show ever"
|
|
end
|
|
|
|
Fabricator(:site_content_site_setting, from: :site_content) do
|
|
content_type 'site.replacement'
|
|
content "%{title} is evil."
|
|
end
|