diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-05-02 21:22:08 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-05-02 21:22:08 +0900 |
commit | 7d626c41ccb4531dceeb1d1025c067bac3c63c4d (patch) | |
tree | 908ceae1d14aef8c02d3a0a48183ee87547ae8d4 /spec/models/ci/build_trace_chunk_spec.rb | |
parent | 950df8babf07d7135b1f7cf95586d40f0ca36ff6 (diff) | |
download | gitlab-ce-7d626c41ccb4531dceeb1d1025c067bac3c63c4d.tar.gz |
Fix BuildTraceChunkFlushToDbWorker name
Diffstat (limited to 'spec/models/ci/build_trace_chunk_spec.rb')
-rw-r--r-- | spec/models/ci/build_trace_chunk_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/ci/build_trace_chunk_spec.rb b/spec/models/ci/build_trace_chunk_spec.rb index 4a58971a441..dbeee74857c 100644 --- a/spec/models/ci/build_trace_chunk_spec.rb +++ b/spec/models/ci/build_trace_chunk_spec.rb @@ -75,7 +75,7 @@ describe Ci::BuildTraceChunk, :clean_gitlab_redis_shared_state do let(:value) { 'a' * described_class::CHUNK_SIZE } it 'schedules stashing data' do - expect(BuildTraceChunkFlushToDBWorker).to receive(:perform_async).once + expect(BuildTraceChunkFlushToDbWorker).to receive(:perform_async).once subject end @@ -112,7 +112,7 @@ describe Ci::BuildTraceChunk, :clean_gitlab_redis_shared_state do context 'when fullfilled chunk size' do it 'does not schedule stashing data' do - expect(BuildTraceChunkFlushToDBWorker).not_to receive(:perform_async) + expect(BuildTraceChunkFlushToDbWorker).not_to receive(:perform_async) subject end |