gitlab-org--gitlab-foss/spec/factories/wiki_directories.rb
Rémy Coutable 857d039145
Lint our factories creation in addition to their build
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-02 19:06:50 +02:00

8 lines
139 B
Ruby

FactoryGirl.define do
factory :wiki_directory do
skip_create
slug '/path_up_to/dir'
initialize_with { new(slug) }
end
end