summaryrefslogtreecommitdiff
path: root/spec/workers/concerns
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2018-06-19 19:03:25 +0200
committerYorick Peterse <yorickpeterse@gmail.com>2018-06-21 16:56:40 +0200
commit9e29408ee6072f2559899582b3300a6de54069ff (patch)
tree921e3aa0bf3ebe9b61b74973c239b8108de4175b /spec/workers/concerns
parentd229e7d3f50fd1f36bacecd55bb74d0b1ab44cbe (diff)
downloadgitlab-ce-9e29408ee6072f2559899582b3300a6de54069ff.tar.gz
Don't expose project names in various counters
Various counters would expose either project names, or full project paths (e.g. "gitlab-org/gitlab-ce"). This commit changes various places where we use "add_event" so we no longer expose (potentially) private information.
Diffstat (limited to 'spec/workers/concerns')
-rw-r--r--spec/workers/concerns/gitlab/github_import/object_importer_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/workers/concerns/gitlab/github_import/object_importer_spec.rb b/spec/workers/concerns/gitlab/github_import/object_importer_spec.rb
index 615462380e0..9c187bead0a 100644
--- a/spec/workers/concerns/gitlab/github_import/object_importer_spec.rb
+++ b/spec/workers/concerns/gitlab/github_import/object_importer_spec.rb
@@ -51,7 +51,6 @@ describe Gitlab::GithubImport::ObjectImporter do
expect(worker.counter)
.to receive(:increment)
- .with(project: 'foo/bar')
.and_call_original
worker.import(project, client, { 'number' => 10 })