Fix "[Rails5] '-1' is not a valid data_store"
This commit is contained in:
parent
fb08183e63
commit
242039e4e1
1 changed files with 1 additions and 1 deletions
|
@ -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') }
|
||||
|
|
Loading…
Reference in a new issue