discourse/spec/fabricators/sidebar_section_link_fabricator.rb
2023-01-09 11:49:28 +00:00

10 lines
287 B
Ruby

# frozen_string_literal: true
Fabricator(:sidebar_section_link) { user }
Fabricator(:category_sidebar_section_link, from: :sidebar_section_link) do
linkable(fabricator: :category)
end
Fabricator(:tag_sidebar_section_link, from: :sidebar_section_link) { linkable(fabricator: :tag) }