From 23e87c046e23ad1af1d8b70d3ea25c5d37a74a96 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Thu, 15 Nov 2012 12:12:09 +0000 Subject: Don't load raw emails data in specs that don't use it. --- spec/models/incoming_message_spec.rb | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'spec/models') diff --git a/spec/models/incoming_message_spec.rb b/spec/models/incoming_message_spec.rb index a94117c60..2ae98564c 100644 --- a/spec/models/incoming_message_spec.rb +++ b/spec/models/incoming_message_spec.rb @@ -399,12 +399,6 @@ end describe IncomingMessage, " when uudecoding bad messages" do - before(:each) do - load_raw_emails_data - end - - - it "should be able to do it at all" do mail = get_fixture_mail('incoming-request-bad-uuencoding.email') im = incoming_messages(:useless_incoming_message) @@ -441,10 +435,6 @@ end describe IncomingMessage, "when messages are attached to messages" do - before(:each) do - load_raw_emails_data - end - it "should flatten all the attachments out" do mail = get_fixture_mail('incoming-request-attach-attachments.email') @@ -464,10 +454,6 @@ end describe IncomingMessage, "when Outlook messages are attached to messages" do - before(:each) do - load_raw_emails_data - end - it "should flatten all the attachments out" do mail = get_fixture_mail('incoming-request-oft-attachments.email') @@ -484,10 +470,6 @@ end describe IncomingMessage, "when TNEF attachments are attached to messages" do - before(:each) do - load_raw_emails_data - end - it "should flatten all the attachments out" do mail = get_fixture_mail('incoming-request-tnef-attachments.email') -- cgit v1.2.3