mirror of
https://github.com/internetee/registry.git
synced 2025-08-06 01:35:10 +02:00
added test
This commit is contained in:
parent
0d40feb9c0
commit
7c8c9120b5
5 changed files with 107 additions and 8 deletions
|
@ -1,7 +1,9 @@
|
|||
namespace :collect_csv_data do
|
||||
desc 'Import from csv registry business contact into BusinessRegistryContact model'
|
||||
|
||||
FILE_NAME = './ettevotja_rekvisiidid_init.csv'.freeze
|
||||
|
||||
task business_contacts: :environment do
|
||||
ScanCsvRegistryBusinnesContactsJob.perform_now
|
||||
ScanCsvRegistryBusinnesContactsJob.perform_later(FILE_NAME)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue