--- a/spec/ezmlm/list/message_spec.rb Fri May 12 16:17:41 2017 -0700
+++ b/spec/ezmlm/list/message_spec.rb Tue May 16 13:58:34 2017 -0700
@@ -44,6 +44,7 @@
it 'raises error when unable to read message' do
allow( list ).to receive( :listdir ).and_return( Pathname('/nope') )
expect( list ).to receive( :message_count ).and_return( 1 )
+ expect( list ).to receive( :archived? ).and_return( true )
expect {
described_class.new( list, 1 )
}.to raise_error( RuntimeError, /unable to determine message path/i )