Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
niquerio committed Oct 19, 2021
1 parent 353e2ac commit d82814f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/send-alma-sms_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
end
it "skips files that don't start with Ful" do
allow(@sftp_dir).to receive(:glob).and_return([double('SFTP::Name', name: 'some_wrong_file', file?: true)])
expect(@logger_double).to receive(:info).with("Finished Processing SMS Messages")
expect(@logger_double).to receive(:info).with("Finished Processing SMS Messages\n{:total_files=>0, :num_files_sent=>0, :num_files_not_sent=>0, :total_files_in_input_directory_after_script=>0}")
subject
end
it "processes files that do start with Ful" do
Expand Down

0 comments on commit d82814f

Please sign in to comment.