Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/work_items/type_spec.rb')
-rw-r--r--spec/models/work_items/type_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/work_items/type_spec.rb b/spec/models/work_items/type_spec.rb
index f5806c296ac..e4d2ccdfc5a 100644
--- a/spec/models/work_items/type_spec.rb
+++ b/spec/models/work_items/type_spec.rb
@@ -2,7 +2,7 @@
require 'spec_helper'
-RSpec.describe WorkItems::Type do
+RSpec.describe WorkItems::Type, feature_category: :team_planning do
describe 'modules' do
it { is_expected.to include_module(CacheMarkdownField) }
end
@@ -49,10 +49,10 @@ RSpec.describe WorkItems::Type do
it 'deletes type but not unrelated issues' do
type = create(:work_item_type)
- expect(described_class.count).to eq(8)
+ expect(described_class.count).to eq(10)
expect { type.destroy! }.not_to change(Issue, :count)
- expect(described_class.count).to eq(7)
+ expect(described_class.count).to eq(9)
end
end