Commit 4c0c7ed3 authored by Shinya Maeda's avatar Shinya Maeda

Make explicit chunks store classes namespace in factroy

parent 1f1ef460
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment