diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-07-04 14:29:37 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-07-04 14:29:37 +0900 |
commit | 4c0c7ed32d2d177735ad430bb6b22449ddf0a4d0 (patch) | |
tree | a6a9756881233d2e9d07e6b0040ee83d6aa07b88 | |
parent | 1f1ef460ca3a02597b4e37af67251f3824cf4ea8 (diff) | |
download | gitlab-ce-4c0c7ed32d2d177735ad430bb6b22449ddf0a4d0.tar.gz |
Make explicit chunks store classes namespace in factroy
-rw-r--r-- | spec/factories/ci/build_trace_chunks.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/factories/ci/build_trace_chunks.rb b/spec/factories/ci/build_trace_chunks.rb index 3aeb7e4af02..ebec85ebf46 100644 --- a/spec/factories/ci/build_trace_chunks.rb +++ b/spec/factories/ci/build_trace_chunks.rb @@ -12,7 +12,7 @@ FactoryBot.define do end after(:create) do |build_trace_chunk, evaluator| - Ci::BuildTraceChunk::Redis.new.set_data(build_trace_chunk, evaluator.initial_data) + ::Ci::BuildTraceChunk::Redis.new.set_data(build_trace_chunk, evaluator.initial_data) end end @@ -28,7 +28,7 @@ FactoryBot.define do end after(:build) do |build_trace_chunk, evaluator| - Ci::BuildTraceChunk::Database.new.set_data(build_trace_chunk, evaluator.initial_data) + ::Ci::BuildTraceChunk::Database.new.set_data(build_trace_chunk, evaluator.initial_data) end end @@ -44,7 +44,7 @@ FactoryBot.define do end after(:create) do |build_trace_chunk, evaluator| - Ci::BuildTraceChunk::Fog.new.set_data(build_trace_chunk, evaluator.initial_data) + ::Ci::BuildTraceChunk::Fog.new.set_data(build_trace_chunk, evaluator.initial_data) end end |