Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2018-06-19 20:03:25 +0300
committerYorick Peterse <yorickpeterse@gmail.com>2018-06-21 17:56:40 +0300
commit9e29408ee6072f2559899582b3300a6de54069ff (patch)
tree921e3aa0bf3ebe9b61b74973c239b8108de4175b /spec/workers/gitlab/github_import/import_diff_note_worker_spec.rb
parentd229e7d3f50fd1f36bacecd55bb74d0b1ab44cbe (diff)
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/gitlab/github_import/import_diff_note_worker_spec.rb')
-rw-r--r--spec/workers/gitlab/github_import/import_diff_note_worker_spec.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/workers/gitlab/github_import/import_diff_note_worker_spec.rb b/spec/workers/gitlab/github_import/import_diff_note_worker_spec.rb
index 48e7eaf32fc..5b1c6b6010a 100644
--- a/spec/workers/gitlab/github_import/import_diff_note_worker_spec.rb
+++ b/spec/workers/gitlab/github_import/import_diff_note_worker_spec.rb
@@ -33,7 +33,6 @@ describe Gitlab::GithubImport::ImportDiffNoteWorker do
expect(worker.counter)
.to receive(:increment)
- .with(project: 'foo/bar')
.and_call_original
worker.import(project, client, hash)