summaryrefslogtreecommitdiff
path: root/spec/models/ci
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-06-07 10:04:55 +0200
committerKamil Trzciński <ayufan@ayufan.eu>2018-06-07 10:46:14 +0200
commit644529590a263f8db215d288c2f59abbe632a09b (patch)
tree69c16d70093e02737801a4075258f80f84040a99 /spec/models/ci
parent4f526a334be7bd2875a7037172a344140a515fe6 (diff)
downloadgitlab-ce-644529590a263f8db215d288c2f59abbe632a09b.tar.gz
Allow to store BuildTraceChunks on Object Storage
Diffstat (limited to 'spec/models/ci')
-rw-r--r--spec/models/ci/build_trace_chunk_spec.rb4
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 cbcf1e55979..3f89898ed06 100644
--- a/spec/models/ci/build_trace_chunk_spec.rb
+++ b/spec/models/ci/build_trace_chunk_spec.rb
@@ -294,8 +294,8 @@ describe Ci::BuildTraceChunk, :clean_gitlab_redis_shared_state do
end
end
- describe '#use_database!' do
- subject { build_trace_chunk.use_database! }
+ describe '#persist!' do
+ subject { build_trace_chunk.persist! }
context 'when data_store is redis' do
let(:data_store) { :redis }