diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2018-12-18 00:58:00 +0300 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2018-12-18 16:18:21 +0300 |
commit | ee425c9cf85e1cde3d284ebfcb5ce7328a37e8c1 (patch) | |
tree | 0a8fccc60d183de5bb81a8a741ee61d8da5a27c3 /spec/lib/banzai/filter/suggestion_filter_spec.rb | |
parent | aa2c729e8e90968419d59281c0e6021f77877060 (diff) |
Remove feature flag for suggest changes feature
Diffstat (limited to 'spec/lib/banzai/filter/suggestion_filter_spec.rb')
-rw-r--r-- | spec/lib/banzai/filter/suggestion_filter_spec.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/lib/banzai/filter/suggestion_filter_spec.rb b/spec/lib/banzai/filter/suggestion_filter_spec.rb index 55a141bf315..b13c90b54bd 100644 --- a/spec/lib/banzai/filter/suggestion_filter_spec.rb +++ b/spec/lib/banzai/filter/suggestion_filter_spec.rb @@ -17,15 +17,6 @@ describe Banzai::Filter::SuggestionFilter do expect(result[:class]).to include('js-render-suggestion') end - it 'includes no `js-render-suggestion` when feature disabled' do - stub_feature_flags(diff_suggestions: false) - - doc = filter(input, default_context) - result = doc.css('code').first - - expect(result[:class]).to be_nil - end - it 'includes no `js-render-suggestion` when filter is disabled' do doc = filter(input) result = doc.css('code').first |