diff options
author | Fabian Schneider <fabbbbbi+git@googlemail.com> | 2018-10-05 09:42:38 +0000 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2018-10-05 09:42:38 +0000 |
commit | b55c320c89b939718562f9d6a606e831cbb776c4 (patch) | |
tree | ffdfadfbba26e0db8f3e6e06ebe214174e3b6b54 /spec/helpers/application_helper_spec.rb | |
parent | 16d038da1c5c38c02fbc300eb180c64b67a0d908 (diff) | |
download | gitlab-ce-b55c320c89b939718562f9d6a606e831cbb776c4.tar.gz |
Resolve "Drop down filter for project snippets"
Diffstat (limited to 'spec/helpers/application_helper_spec.rb')
-rw-r--r-- | spec/helpers/application_helper_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb index 1238cfbd1e7..4135f31e051 100644 --- a/spec/helpers/application_helper_spec.rb +++ b/spec/helpers/application_helper_spec.rb @@ -174,9 +174,7 @@ describe ApplicationHelper do it 'returns paths for autocomplete_sources_controller' do sources = helper.autocomplete_data_sources(project, noteable_type) - - expect(sources.keys).to match_array([:members, :issues, :mergeRequests, :labels, :milestones, :commands]) - + expect(sources.keys).to match_array([:members, :issues, :mergeRequests, :labels, :milestones, :commands, :snippets]) sources.keys.each do |key| expect(sources[key]).not_to be_nil end |