summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-06-15 17:20:25 +0900
committerShinya Maeda <shinya@gitlab.com>2018-06-15 17:20:25 +0900
commit242039e4e12b90495fcddfbb250d9540f3a6f95a (patch)
treee7fa1933835e4bb3ab390da211d1d1c85d410634 /spec
parentfb08183e63733dd7845a16d9f827a5cd5f2d9080 (diff)
downloadgitlab-ce-242039e4e12b90495fcddfbb250d9540f3a6f95a.tar.gz
Fix "[Rails5] '-1' is not a valid data_store"
Diffstat (limited to 'spec')
-rw-r--r--spec/models/ci/build_trace_chunk_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/ci/build_trace_chunk_spec.rb b/spec/models/ci/build_trace_chunk_spec.rb
index cbcf1e55979..6213a203d6a 100644
--- a/spec/models/ci/build_trace_chunk_spec.rb
+++ b/spec/models/ci/build_trace_chunk_spec.rb
@@ -57,7 +57,7 @@ describe Ci::BuildTraceChunk, :clean_gitlab_redis_shared_state do
context 'when data_store is others' do
before do
- build_trace_chunk.send(:write_attribute, :data_store, -1)
+ build_trace_chunk.send(:write_attribute, :data_store, 999)
end
it { expect { subject }.to raise_error('Unsupported data store') }