diff options
author | Jacopo <beschi.jacopo@gmail.com> | 2017-11-20 08:49:13 +0100 |
---|---|---|
committer | Jacopo <beschi.jacopo@gmail.com> | 2017-11-20 09:04:27 +0100 |
commit | 0b3e3692eb95a68897b4896d168e6763ac0a97b9 (patch) | |
tree | 5969d5554f843437fee95d7a109fd19877a6ead4 /spec | |
parent | a248bb769f40937e93e8050f3ababb9066115940 (diff) | |
download | gitlab-ce-0b3e3692eb95a68897b4896d168e6763ac0a97b9.tar.gz |
Disables autocomplete in filtered search
Sets `autocomplete=off` to issuable filtered serarch.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/helpers/search_helper_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/helpers/search_helper_spec.rb b/spec/helpers/search_helper_spec.rb index ab647401e14..6c9a7febf14 100644 --- a/spec/helpers/search_helper_spec.rb +++ b/spec/helpers/search_helper_spec.rb @@ -102,6 +102,10 @@ describe SearchHelper do it 'includes project base-endpoint' do expect(search_filter_input_options('')[:data]['base-endpoint']).to eq(project_path(@project)) end + + it 'includes autocomplete=off flag' do + expect(search_filter_input_options('')[:autocomplete]).to eq('off') + end end context 'group' do |