Commit 2634ef3d authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch 'fix-rails5-nagative-enum-spec' into 'master'

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

Closes #47369

See merge request gitlab-org/gitlab-ce!19882
parents f5441083 d4540c61
...@@ -54,14 +54,6 @@ describe Ci::BuildTraceChunk, :clean_gitlab_redis_shared_state do ...@@ -54,14 +54,6 @@ describe Ci::BuildTraceChunk, :clean_gitlab_redis_shared_state do
it { is_expected.to eq('Sample data in db') } it { is_expected.to eq('Sample data in db') }
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 end
describe '#set_data' do describe '#set_data' 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