diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-02 15:09:26 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-02 15:09:26 +0300 |
commit | c658e2d29296721aa65d569a42b778485042795a (patch) | |
tree | 24a39099120ead3fc31d7f115094dc928c38af29 /spec/models/project_spec.rb | |
parent | 3256c55b0f188227e27a4863532feee84e654911 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/project_spec.rb')
-rw-r--r-- | spec/models/project_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb index fb6fc01ed88..7870326c29a 100644 --- a/spec/models/project_spec.rb +++ b/spec/models/project_spec.rb @@ -8281,6 +8281,16 @@ RSpec.describe Project, factory_default: :keep do end end + describe '#work_items_create_from_markdown_feature_flag_enabled?' do + let_it_be(:group_project) { create(:project, :in_subgroup) } + + it_behaves_like 'checks parent group feature flag' do + let(:feature_flag_method) { :work_items_create_from_markdown_feature_flag_enabled? } + let(:feature_flag) { :work_items_create_from_markdown } + let(:subject_project) { group_project } + end + end + describe 'serialization' do let(:object) { build(:project) } |