summaryrefslogtreecommitdiff
path: root/spec/controllers/groups/registry/repositories_controller_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/controllers/groups/registry/repositories_controller_spec.rb')
-rw-r--r--spec/controllers/groups/registry/repositories_controller_spec.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/controllers/groups/registry/repositories_controller_spec.rb b/spec/controllers/groups/registry/repositories_controller_spec.rb
index ae982b02a4f..70125087f30 100644
--- a/spec/controllers/groups/registry/repositories_controller_spec.rb
+++ b/spec/controllers/groups/registry/repositories_controller_spec.rb
@@ -64,12 +64,11 @@ RSpec.describe Groups::Registry::RepositoriesController do
context 'html format' do
let(:format) { :html }
- it 'show index page' do
- expect(Gitlab::Tracking).not_to receive(:event)
-
+ it 'show index page', :snowplow do
subject
expect(response).to have_gitlab_http_status(:ok)
+ expect_no_snowplow_event
end
end