diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-06-15 12:11:59 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-06-15 12:11:59 +0000 |
commit | 2634ef3d70922d7621cc378cab4170f38ca2c263 (patch) | |
tree | b02a832e1b44d499efb214b87f11cb1263d3cf72 /spec | |
parent | f5441083e166eb6d861621516bae119939c7802d (diff) | |
parent | d4540c6131ba036df45463604925217756dac28f (diff) | |
download | gitlab-ce-2634ef3d70922d7621cc378cab4170f38ca2c263.tar.gz |
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
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/ci/build_trace_chunk_spec.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/models/ci/build_trace_chunk_spec.rb b/spec/models/ci/build_trace_chunk_spec.rb index cbcf1e55979..b5a6d959ccb 100644 --- a/spec/models/ci/build_trace_chunk_spec.rb +++ b/spec/models/ci/build_trace_chunk_spec.rb @@ -54,14 +54,6 @@ describe Ci::BuildTraceChunk, :clean_gitlab_redis_shared_state do it { is_expected.to eq('Sample data in db') } 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 '#set_data' do |