diff options
Diffstat (limited to 'spec/workers/post_receive_spec.rb')
-rw-r--r-- | spec/workers/post_receive_spec.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/workers/post_receive_spec.rb b/spec/workers/post_receive_spec.rb index be501318920..f7fd1b1a0a7 100644 --- a/spec/workers/post_receive_spec.rb +++ b/spec/workers/post_receive_spec.rb @@ -102,7 +102,10 @@ RSpec.describe PostReceive do perform - expect_snowplow_event(category: 'empty_repo_upload', action: 'initial_write', context: [{ schema: 'iglu:com.gitlab/gitlab_experiment/jsonschema/0-3-0', data: anything }]) + expect_snowplow_event(category: 'empty_repo_upload', action: 'initial_write', context: [{ + schema: 'iglu:com.gitlab/gitlab_experiment/jsonschema/1-0-0', + data: anything + }]) end it 'does not track an event for the empty_repo_upload experiment when project is not empty', :snowplow do |