diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2011-12-13 17:27:39 +0000 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2011-12-13 17:27:39 +0000 |
commit | 4075d5a70a6e08c1d55e97dbfc13fda4a2faaf84 (patch) | |
tree | f46f09858bc4140394e60fe0f37a8ee15a8d134a /spec/models/info_request_spec.rb | |
parent | 8405aeefaf1b4f72e1bc781995547d775e8991d7 (diff) |
Further improvements to attachment caching
Diffstat (limited to 'spec/models/info_request_spec.rb')
-rw-r--r-- | spec/models/info_request_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/info_request_spec.rb b/spec/models/info_request_spec.rb index 409d48ede..b1baa66a2 100644 --- a/spec/models/info_request_spec.rb +++ b/spec/models/info_request_spec.rb @@ -143,8 +143,8 @@ describe InfoRequest do end it "should cope with indexing after item is deleted" do + IncomingMessage.find(:all).each{|x| x.parse_raw_email!} rebuild_xapian_index - # delete event from underneath indexing; shouldn't cause error info_request_events(:useless_incoming_message_event).save! info_request_events(:useless_incoming_message_event).destroy |