@@ -139,7 +139,7 @@ RSpec.describe Projects::GitDeduplicationService do
end
it'fails when a lease is already out'do
expect(service).toreceive(:log_error).with('Cannot obtain an exclusive lease. There must be another instance already in execution.')
expect(service).toreceive(:log_error).with("Cannot obtain an exclusive lease for #{service.class.name}. There must be another instance already in execution.")