Merge branch 'blackst0ne-rails5-fix-data-store-spec' into 'master'
[Rails5] Fix "'-1' is not a valid data_store" See merge request gitlab-org/gitlab-ce!19917
This commit is contained in:
commit
70bf08b5d3
2 changed files with 5 additions and 8 deletions
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: '[Rails5] Fix "-1 is not a valid data_store"'
|
||||
merge_request: 19917
|
||||
author: "@blackst0ne"
|
||||
type: fixed
|
|
@ -125,14 +125,6 @@ describe Ci::BuildTraceChunk, :clean_gitlab_redis_shared_state do
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
context 'when data_store is others' do
|
||||
before do
|
||||
build_trace_chunk.send(:write_attribute, :data_store, -1)
|
||||
end
|
||||
|
||||
it { expect { subject }.to raise_error('Unsupported data store') }
|
||||
end
|
||||
end
|
||||
|
||||
describe '#truncate' do
|
||||
|
|
Loading…
Reference in a new issue