summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-06-15 12:11:59 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2018-06-15 12:11:59 +0000
commit2634ef3d70922d7621cc378cab4170f38ca2c263 (patch)
treeb02a832e1b44d499efb214b87f11cb1263d3cf72
parentf5441083e166eb6d861621516bae119939c7802d (diff)
parentd4540c6131ba036df45463604925217756dac28f (diff)
downloadgitlab-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
-rw-r--r--spec/models/ci/build_trace_chunk_spec.rb8
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