discourse/spec/fabricators/sidebar_section_link_fabric...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
450 B
Ruby
Raw Normal View History

# 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) }
Fabricator(:custom_sidebar_section_link, from: :sidebar_section_link) do
linkable(fabricator: :sidebar_url)
sidebar_section(fabricator: :sidebar_section)
end