discourse/spec/fabricators/site_text_fabricator.rb

15 lines
330 B
Ruby
Raw Normal View History

2014-09-24 14:45:35 -04:00
Fabricator(:site_text) do
text_type "great.poem"
value "%{flower} are red. %{food} are blue."
end
Fabricator(:site_text_basic, from: :site_text) do
text_type "breaking.bad"
value "best show ever"
end
Fabricator(:site_text_site_setting, from: :site_text) do
text_type "site.replacement"
value "%{title} is evil."
end