Browse Source

Fix rubocop rspec issue

pull/267/head
Stéphane Meny 3 years ago
parent
commit
1ee94d2cce
No known key found for this signature in database
GPG Key ID: 9D0AFEA988527923
  1. 2
      spec/services/import_service_spec.rb

2
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) expect { import_service.update_organisations(folder_name) }.to change(Organisation, :count).by(0)
organisation = Organisation.find_by(old_visible_id: 1) 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") expect(organisation.name).to eq("my_new_organisation")
end end
end end

Loading…
Cancel
Save