diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-03-19 05:33:40 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-03-19 05:33:40 +1100 |
commit | a25bfdd387a52064ebfd3469c08f8bd604c163aa (patch) | |
tree | b3a40409ce66258207dad0f76224ebf1d9f12745 /spec/script/mailin_spec.rb | |
parent | 2ceb58f8226531dba52155e84edc33dc26de5bb0 (diff) |
Deal with further side effects of stuff done outside of a transaction in tests
Diffstat (limited to 'spec/script/mailin_spec.rb')
-rw-r--r-- | spec/script/mailin_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/script/mailin_spec.rb b/spec/script/mailin_spec.rb index acd06ff3b..46ad39f7f 100644 --- a/spec/script/mailin_spec.rb +++ b/spec/script/mailin_spec.rb @@ -32,6 +32,8 @@ describe "When importing mail into the application" do ir = info_requests(:other_request) incoming_message = ir.incoming_messages[0] incoming_message.fully_destroy + # And get rid of any remaining purge requests + PurgeRequest.destroy_all end end |