diff options
author | blackst0ne <blackst0ne.ru@gmail.com> | 2018-06-16 13:16:48 +1100 |
---|---|---|
committer | blackst0ne <blackst0ne.ru@gmail.com> | 2018-06-16 13:16:48 +1100 |
commit | a4f9ef7d79f0a9e61e6c3aaf1c4a5670324d837d (patch) | |
tree | 3635a993ce909a432e349f30eeb6ab9e6031c06b /spec/models/ci/build_trace_chunk_spec.rb | |
parent | a76066d7fad192d8c339101d9b7dd0048fe6e303 (diff) | |
download | gitlab-ce-a4f9ef7d79f0a9e61e6c3aaf1c4a5670324d837d.tar.gz |
[Rails5] Fix "'-1' is not a valid data_store"blackst0ne-rails5-fix-data-store-spec
Part of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/19882
Diffstat (limited to 'spec/models/ci/build_trace_chunk_spec.rb')
-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 b5a6d959ccb..c5d550cba1b 100644 --- a/spec/models/ci/build_trace_chunk_spec.rb +++ b/spec/models/ci/build_trace_chunk_spec.rb @@ -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 |