spec/spec_helper.rb in mail_extract-0.1.2 vs spec/spec_helper.rb in mail_extract-0.1.3
- old
+ new
@@ -13,5 +13,9 @@
end
def result_fixture(file)
fixture("result_#{file}")
end
+
+def parse_fixture(file)
+ MailExtract.new(fixture(file)).body
+end