summaryrefslogtreecommitdiff
path: root/spec/models/ci/build_trace_section_name_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/ci/build_trace_section_name_spec.rb')
-rw-r--r--spec/models/ci/build_trace_section_name_spec.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/models/ci/build_trace_section_name_spec.rb b/spec/models/ci/build_trace_section_name_spec.rb
deleted file mode 100644
index b220e67d48e..00000000000
--- a/spec/models/ci/build_trace_section_name_spec.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# frozen_string_literal: true
-
-require 'spec_helper'
-
-RSpec.describe Ci::BuildTraceSectionName, model: true do
- subject { build(:ci_build_trace_section_name) }
-
- it { is_expected.to belong_to(:project) }
- it { is_expected.to have_many(:trace_sections)}
-
- it { is_expected.to validate_presence_of(:project) }
- it { is_expected.to validate_presence_of(:name) }
- it { is_expected.to validate_uniqueness_of(:name).scoped_to(:project_id) }
-end