Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-02-05 12:07:37 +0300
committerShinya Maeda <shinya@gitlab.com>2018-02-06 09:50:08 +0300
commitbbeb274a25fa3f2750726c043450de64982f2ba0 (patch)
treeb4e7d82167c1193187ab1e0a8f19df39ffacd512 /spec/factories/ci/builds.rb
parentbb4ebd0b708aa299775377eaf5b554fe0333ebc3 (diff)
Refactor :trace to :trace_live in spec
Diffstat (limited to 'spec/factories/ci/builds.rb')
-rw-r--r--spec/factories/ci/builds.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/factories/ci/builds.rb b/spec/factories/ci/builds.rb
index 29136043f6c..6ba599cdf83 100644
--- a/spec/factories/ci/builds.rb
+++ b/spec/factories/ci/builds.rb
@@ -135,7 +135,7 @@ FactoryBot.define do
coverage_regex '/(d+)/'
end
- trait :trace do
+ trait :trace_live do
after(:create) do |build, evaluator|
build.trace.set('BUILD TRACE')
end
@@ -147,7 +147,7 @@ FactoryBot.define do
end
end
- trait :unicode_trace do
+ trait :unicode_trace_live do
after(:create) do |build, evaluator|
trace = File.binread(
File.expand_path(