Start CSV importer feature
This commit is contained in:
14
spec/factories/csv_imports.rb
Normal file
14
spec/factories/csv_imports.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: csv_imports
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# separator :string not null
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
#
|
||||
FactoryBot.define do
|
||||
factory :csv_import do
|
||||
separator { 1 }
|
||||
end
|
||||
end
|
14
spec/models/csv_import_spec.rb
Normal file
14
spec/models/csv_import_spec.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: csv_imports
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# separator :string not null
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
#
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe CsvImport, type: :model do
|
||||
pending "add some examples to (or delete) #{__FILE__}"
|
||||
end
|
Reference in New Issue
Block a user