discourse/spec/fabricators/post_detail_fabricator.rb

6 lines
103 B
Ruby
Raw Normal View History

Fabricator(:post_detail) do
post
key { sequence(:key) { |i| "key#{i}" } }
value "test value"
end