From 72ab2655c5dffac7abbfffa689e1bf1c82d26d08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Meny?= Date: Mon, 8 Aug 2022 13:38:51 +0100 Subject: [PATCH] Rubocop --- spec/lib/tasks/full_import_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/lib/tasks/full_import_spec.rb b/spec/lib/tasks/full_import_spec.rb index ac5015947..360fb8516 100644 --- a/spec/lib/tasks/full_import_spec.rb +++ b/spec/lib/tasks/full_import_spec.rb @@ -73,8 +73,8 @@ describe "rake core:full_import", type: :task do expect(rent_period_service).to receive(:create_organisation_rent_periods) expect(case_logs_service).to receive(:create_logs) - expect(scheme_service).to_not receive(:create_schemes) - expect(location_service).to_not receive(:create_scheme_locations) + expect(scheme_service).not_to receive(:create_schemes) + expect(location_service).not_to receive(:create_scheme_locations) expect(Rails.logger).to receive(:info).with("spec/fixtures/imports/mgmtgroups/ does not exist, skipping Imports::SchemeImportService") expect(Rails.logger).to receive(:info).with("spec/fixtures/imports/schemes/ does not exist, skipping Imports::SchemeLocationImportService")