Rewrite import feature (#21054)
This commit is contained in:
parent
0ad2413b35
commit
32a030dd74
40 changed files with 2059 additions and 113 deletions
12
spec/fabricators/bulk_import_fabricator.rb
Normal file
12
spec/fabricators/bulk_import_fabricator.rb
Normal file
|
@ -0,0 +1,12 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Fabricator(:bulk_import) do
|
||||
type 1
|
||||
state 1
|
||||
total_items 1
|
||||
processed_items 1
|
||||
imported_items 1
|
||||
finished_at '2022-11-18 14:55:07'
|
||||
overwrite false
|
||||
account
|
||||
end
|
6
spec/fabricators/bulk_import_row_fabricator.rb
Normal file
6
spec/fabricators/bulk_import_row_fabricator.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Fabricator(:bulk_import_row) do
|
||||
bulk_import
|
||||
data ''
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue