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:
Diffstat (limited to 'spec/lib/gitlab/import/metrics_spec.rb')
-rw-r--r--spec/lib/gitlab/import/metrics_spec.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/lib/gitlab/import/metrics_spec.rb b/spec/lib/gitlab/import/metrics_spec.rb
index 035294a620f..9b8b58d00f3 100644
--- a/spec/lib/gitlab/import/metrics_spec.rb
+++ b/spec/lib/gitlab/import/metrics_spec.rb
@@ -94,20 +94,6 @@ RSpec.describe Gitlab::Import::Metrics, :aggregate_failures do
expect(histogram).to have_received(:observe).with({ importer: :test_importer }, anything)
end
end
-
- context 'when project is a github import' do
- before do
- project.import_type = 'github'
- end
-
- it 'emits importer metrics' do
- expect(subject).to receive(:track_usage_event).with(:github_import_project_success, project.id)
-
- subject.track_finished_import
-
- expect(histogram).to have_received(:observe).with({ project: project.full_path }, anything)
- end
- end
end
describe '#issues_counter' do