summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-06-18 17:56:16 +0900
committerShinya Maeda <shinya@gitlab.com>2018-06-18 17:56:16 +0900
commit494673793d6b4491b2a7843f0614e5bcb3d88a3c (patch)
treea909451fa3453ec5efb7ea6b6110eca67fa524b2 /spec
parent71e30c011957229dfa4029b9b04e5308ceed4fcd (diff)
downloadgitlab-ce-494673793d6b4491b2a7843f0614e5bcb3d88a3c.tar.gz
Rename persisted? to data_persisted?
Diffstat (limited to 'spec')
-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 f0c36067c87..79e0f1f20bf 100644
--- a/spec/models/ci/build_trace_chunk_spec.rb
+++ b/spec/models/ci/build_trace_chunk_spec.rb
@@ -286,8 +286,8 @@ describe Ci::BuildTraceChunk, :clean_gitlab_redis_shared_state do
end
end
- describe '#persist!' do
- subject { build_trace_chunk.persist! }
+ describe '#persist_data!' do
+ subject { build_trace_chunk.persist_data! }
context 'when data_store is redis' do
let(:data_store) { :redis }