Commit 70bf08b5 authored by Kamil Trzciński's avatar Kamil Trzciński

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
parents afb1ee87 a4f9ef7d
---
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
......
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