Skip to content

Commit

Permalink
Add line to make directory for the test
Browse files Browse the repository at this point in the history
Co-authored-by: Jane Sandberg <[email protected]>
  • Loading branch information
Beck-Davis and sandbergja committed Apr 5, 2024
1 parent 435d7ef commit 10f36c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/jobs/scsb_import_full_job_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
let(:update_directory_path) { Rails.root.join("tmp", "specs", "update_directory") }

before do
FileUtils.mkdir_p(update_directory_path)
allow(ENV).to receive(:[]).and_call_original
allow(ENV).to receive(:[]).with('SCSB_PARTNER_UPDATE_DIRECTORY').and_return(update_directory_path)
FileUtils.cp('spec/fixtures/scsb_updates/CUL_20210429_192300.zip', update_directory_path)
Expand Down

0 comments on commit 10f36c6

Please sign in to comment.