discourse/spec/fabricators/site_content_fabricator.rb

15 lines
360 B
Ruby
Raw Normal View History

Fabricator(:site_content) do
content "%{flower} are red. %{food} are blue."
2013-07-23 03:58:26 -04:00
content_type "great.poem"
end
Fabricator(:site_content_basic, from: :site_content) do
2013-07-23 03:58:26 -04:00
content_type "breaking.bad"
content "best show ever"
end
Fabricator(:site_content_site_setting, from: :site_content) do
2013-07-23 03:58:26 -04:00
content_type "site.replacement"
content "%{title} is evil."
end