From 1ee94d2cce3558878f7ad9b8d0237dbb9f1519c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Meny?= Date: Thu, 3 Feb 2022 11:32:22 +0000 Subject: [PATCH] Fix rubocop rspec issue --- spec/services/import_service_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/services/import_service_spec.rb b/spec/services/import_service_spec.rb index cfc034d04..5c8be8d7b 100644 --- a/spec/services/import_service_spec.rb +++ b/spec/services/import_service_spec.rb @@ -58,7 +58,7 @@ RSpec.describe ImportService do expect { import_service.update_organisations(folder_name) }.to change(Organisation, :count).by(0) organisation = Organisation.find_by(old_visible_id: 1) - expect(organisation).to_not be_nil + expect(organisation).not_to be_nil expect(organisation.name).to eq("my_new_organisation") end end