Commit b025e89e authored by Shinya Maeda's avatar Shinya Maeda

Fix spec

parent 4c0c7ed3
......@@ -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::BuildTraceChunks::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::BuildTraceChunks::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::BuildTraceChunks::Fog.new.set_data(build_trace_chunk, evaluator.initial_data)
end
end
......
......@@ -120,7 +120,7 @@ describe Ci::BuildTraceChunk, :clean_gitlab_redis_shared_state do
let(:new_data) { nil }
it 'raises an error' do
expect { subject }.to raise_error('New data is nil')
expect { subject }.to raise_error('New data is missing')
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