Commit 2bfa6f5
Changed files (1)
spec
models
spec/models/email_processor.rb → spec/models/email_processor_spec.rb
@@ -13,9 +13,9 @@ describe EmailProcessor do
end
it "imports the csv attachment" do
- allow(BackupFile).to receive(:new)
- .with(user, email.attachments.first)
- .and_return(backup_file)
+ allow(BackupFile).to receive(:new).
+ with(user, email.attachments.first).
+ and_return(backup_file)
subject.process