Commit 2bfa6f5

mo khan <mo@mokhan.ca>
2015-11-14 17:20:36
add _spec to filename.
1 parent 6b9ddff
Changed files (1)
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