Make explicit chunks store classes namespace in factroy

This commit is contained in:
Shinya Maeda 2018-07-04 14:29:37 +09:00
parent 1f1ef460ca
commit 4c0c7ed32d

View file

@ -12,7 +12,7 @@ FactoryBot.define do
end end
after(:create) do |build_trace_chunk, evaluator| 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
end end
@ -28,7 +28,7 @@ FactoryBot.define do
end end
after(:build) do |build_trace_chunk, evaluator| 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
end end
@ -44,7 +44,7 @@ FactoryBot.define do
end end
after(:create) do |build_trace_chunk, evaluator| 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
end end