aboutsummaryrefslogtreecommitdiffstats
path: root/spec/lib
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2012-11-15 12:09:25 +0000
committerLouise Crow <louise.crow@gmail.com>2012-11-15 12:09:25 +0000
commit23e99ffb72361161ef8cff4d0d79efca83326c80 (patch)
tree2c6f863a6a90144b1d648623e58ed92b46b6d771 /spec/lib
parent7412af2865c984dab0b5897d5e2050e0a45f25d3 (diff)
Factor out method for getting a mail object from a fixture file.
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/mail_handler/mail_handler_spec.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/lib/mail_handler/mail_handler_spec.rb b/spec/lib/mail_handler/mail_handler_spec.rb
index fa29132bc..fc29817f6 100644
--- a/spec/lib/mail_handler/mail_handler_spec.rb
+++ b/spec/lib/mail_handler/mail_handler_spec.rb
@@ -1,10 +1,6 @@
# coding: utf-8
require File.expand_path(File.dirname(__FILE__) + '../../../spec_helper')
-def get_fixture_mail(filename)
- MailHandler.mail_from_raw_email(load_file_fixture(filename))
-end
-
describe 'when creating a mail object from raw data' do
it 'should correctly parse a multipart email with a linebreak in the boundary' do