diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-06-15 11:20:25 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-06-15 11:20:25 +0300 |
commit | 242039e4e12b90495fcddfbb250d9540f3a6f95a (patch) | |
tree | e7fa1933835e4bb3ab390da211d1d1c85d410634 /spec | |
parent | fb08183e63733dd7845a16d9f827a5cd5f2d9080 (diff) |
Fix "[Rails5] '-1' is not a valid data_store"
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/ci/build_trace_chunk_spec.rb | 2 |
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') } |