Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-06-15 11:20:25 +0300
committerShinya Maeda <shinya@gitlab.com>2018-06-15 11:20:25 +0300
commit242039e4e12b90495fcddfbb250d9540f3a6f95a (patch)
treee7fa1933835e4bb3ab390da211d1d1c85d410634 /spec/models
parentfb08183e63733dd7845a16d9f827a5cd5f2d9080 (diff)
Fix "[Rails5] '-1' is not a valid data_store"
Diffstat (limited to 'spec/models')
-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') }