discourse/spec/fabricators/published_page_fabricator.rb

8 lines
138 B
Ruby

# frozen_string_literal: true
Fabricator(:published_page) do
topic
slug "published-page-test-#{SecureRandom.hex}"
public false
end