diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-12-04 19:24:21 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-12-04 19:24:21 +0900 |
commit | e1449df7a2eccbdaeb807d60a1c67b249d6ec03e (patch) | |
tree | bdf46ae564f55fd0946d2520c005c18e8e83738e /spec/models/ci/build_trace_chunk_spec.rb | |
parent | 5b24739eb30b6505ef652b526c7502bd961c5bc2 (diff) | |
download | gitlab-ce-e1449df7a2eccbdaeb807d60a1c67b249d6ec03e.tar.gz |
Fix coding offence
Diffstat (limited to 'spec/models/ci/build_trace_chunk_spec.rb')
-rw-r--r-- | spec/models/ci/build_trace_chunk_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/ci/build_trace_chunk_spec.rb b/spec/models/ci/build_trace_chunk_spec.rb index 86a1f614eea..d214fdf369a 100644 --- a/spec/models/ci/build_trace_chunk_spec.rb +++ b/spec/models/ci/build_trace_chunk_spec.rb @@ -3,8 +3,6 @@ require 'spec_helper' describe Ci::BuildTraceChunk, :clean_gitlab_redis_shared_state do include ExclusiveLeaseHelpers - it_behaves_like 'having unique enum values' - set(:build) { create(:ci_build, :running) } let(:chunk_index) { 0 } let(:data_store) { :redis } @@ -14,6 +12,8 @@ describe Ci::BuildTraceChunk, :clean_gitlab_redis_shared_state do described_class.new(build: build, chunk_index: chunk_index, data_store: data_store, raw_data: raw_data) end + it_behaves_like 'having unique enum values' + before do stub_feature_flags(ci_enable_live_trace: true) stub_artifacts_object_storage |