diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-19 11:27:35 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-19 11:27:35 +0300 |
commit | 7e9c479f7de77702622631cff2628a9c8dcbc627 (patch) | |
tree | c8f718a08e110ad7e1894510980d2155a6549197 /spec/lib/gitlab/static_site_editor | |
parent | e852b0ae16db4052c1c567d9efa4facc81146e88 (diff) |
Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42
Diffstat (limited to 'spec/lib/gitlab/static_site_editor')
-rw-r--r-- | spec/lib/gitlab/static_site_editor/config/generated_config_spec.rb | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/spec/lib/gitlab/static_site_editor/config/generated_config_spec.rb b/spec/lib/gitlab/static_site_editor/config/generated_config_spec.rb index 2f761b69e60..0b2055d3db5 100644 --- a/spec/lib/gitlab/static_site_editor/config/generated_config_spec.rb +++ b/spec/lib/gitlab/static_site_editor/config/generated_config_spec.rb @@ -58,25 +58,9 @@ RSpec.describe Gitlab::StaticSiteEditor::Config::GeneratedConfig do ) end - context 'when feature flag is enabled' do - let(:path) { 'FEATURE_ON.md.erb' } + let(:path) { 'README.md.erb' } - before do - stub_feature_flags(sse_erb_support: project) - end - - it { is_expected.to include(is_supported_content: true) } - end - - context 'when feature flag is disabled' do - let(:path) { 'FEATURE_OFF.md.erb' } - - before do - stub_feature_flags(sse_erb_support: false) - end - - it { is_expected.to include(is_supported_content: false) } - end + it { is_expected.to include(is_supported_content: true) } end context 'when file path is nested' do |