Enable snippets by default in project factory

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-06-30 14:02:52 +03:00
parent 9231b91a40
commit 8daa69a3eb
No known key found for this signature in database
GPG Key ID: 627C5F589F467F17
1 changed files with 2 additions and 1 deletions

View File

@ -32,6 +32,7 @@ FactoryGirl.define do
path { name.downcase.gsub(/\s/, '_') }
namespace
creator
snippets_enabled true
trait :public do
visibility_level Gitlab::VisibilityLevel::PUBLIC
@ -245,7 +246,7 @@ FactoryGirl.define do
end
end
end
factory :email do
user
email do