discourse/spec/fabricators/post_detail_fabricator.rb

8 lines
134 B
Ruby

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