diff options
author | Heinrich Lee Yu <hleeyu@gmail.com> | 2019-01-03 08:17:07 +0300 |
---|---|---|
committer | Heinrich Lee Yu <hleeyu@gmail.com> | 2019-01-07 06:21:30 +0300 |
commit | f54290de751e365be0928c66bb75fd106bb7aa88 (patch) | |
tree | da09c1505ede95633e7312080ab48986ae7382cb /spec/services/issues | |
parent | e2698d5d7455d91fa94f9bbf1fc838f8cb142700 (diff) |
Remove caching of CSV file
Load whole file in memory to simplify code
Diffstat (limited to 'spec/services/issues')
-rw-r--r-- | spec/services/issues/import_csv_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/issues/import_csv_service_spec.rb b/spec/services/issues/import_csv_service_spec.rb index 848dc2c2cd2..516a1137319 100644 --- a/spec/services/issues/import_csv_service_spec.rb +++ b/spec/services/issues/import_csv_service_spec.rb @@ -10,7 +10,7 @@ describe Issues::ImportCsvService do uploader = FileUploader.new(project) uploader.store!(file) - described_class.new(user, project, uploader.upload).execute + described_class.new(user, project, uploader).execute end describe '#execute' do |