Commit 8daa69a3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Enable snippets by default in project factory

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 9231b91a
...@@ -32,6 +32,7 @@ FactoryGirl.define do ...@@ -32,6 +32,7 @@ FactoryGirl.define do
path { name.downcase.gsub(/\s/, '_') } path { name.downcase.gsub(/\s/, '_') }
namespace namespace
creator creator
snippets_enabled true
trait :public do trait :public do
visibility_level Gitlab::VisibilityLevel::PUBLIC visibility_level Gitlab::VisibilityLevel::PUBLIC
...@@ -245,7 +246,7 @@ FactoryGirl.define do ...@@ -245,7 +246,7 @@ FactoryGirl.define do
end end
end end
end end
factory :email do factory :email do
user user
email do email do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment