Commit 242039e4 authored by Shinya Maeda's avatar Shinya Maeda

Fix "[Rails5] '-1' is not a valid data_store"

parent fb08183e
......@@ -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') }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment