summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-30 14:02:52 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-30 14:02:52 +0300
commit8daa69a3ebd98fc293508570aed3e1f2eec4359f (patch)
treec0d04bc4f65a39f4bfc032458955531e5ce90007 /spec
parent9231b91a401245e44b57dbe688eeabfc45dd4bea (diff)
downloadgitlab-ce-8daa69a3ebd98fc293508570aed3e1f2eec4359f.tar.gz
Enable snippets by default in project factory
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec')
-rw-r--r--spec/factories.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/factories.rb b/spec/factories.rb
index 41cc99cbcb9..ad4c56986c3 100644
--- a/spec/factories.rb
+++ b/spec/factories.rb
@@ -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