summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz.bizon@ntsn.pl>2016-02-01 11:29:41 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-02-19 17:24:03 +0100
commit5e1edd372f2522866805093d04b7127661083647 (patch)
treebb93e7d6f3708fb60ab77887d28cfb803f071020
parentf6a91ccc5b21d26c677bf828fa255f16f453e1e0 (diff)
downloadgitlab-ce-5e1edd372f2522866805093d04b7127661083647.tar.gz
Add artifacts trait to build factory in specs
-rw-r--r--spec/factories/ci/builds.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb
index 1243647a78d..8305bf364d4 100644
--- a/spec/factories/ci/builds.rb
+++ b/spec/factories/ci/builds.rb
@@ -54,7 +54,7 @@ FactoryGirl.define do
end
factory :ci_build_with_trace do
- after(:create) do |build, evaluator|
+ after(:create) do |build, evaluator|
build.trace = 'BUILD TRACE'
end
end