discourse/spec/fabricators/sidebar_section_link_fabric...

14 lines
297 B
Ruby

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