summaryrefslogtreecommitdiff
path: root/spec/controllers/search_controller_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/controllers/search_controller_spec.rb')
-rw-r--r--spec/controllers/search_controller_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/controllers/search_controller_spec.rb b/spec/controllers/search_controller_spec.rb
index a41ff28841d..d66a0246c2d 100644
--- a/spec/controllers/search_controller_spec.rb
+++ b/spec/controllers/search_controller_spec.rb
@@ -149,6 +149,11 @@ RSpec.describe SearchController do
expect(assigns[:search_objects].first).to eq note
end
+ it_behaves_like 'tracking unique hll events', :show do
+ let(:request_params) { { scope: 'projects', search: 'term' } }
+ let(:target_id) { 'i_search_total' }
+ end
+
context 'on restricted projects' do
context 'when signed out' do
before do