diff -r e135ccae6783 -r 23c7f5c8ee39 spec/ezmlm/list/author_spec.rb --- a/spec/ezmlm/list/author_spec.rb Fri May 12 16:17:41 2017 -0700 +++ b/spec/ezmlm/list/author_spec.rb Tue May 16 13:58:34 2017 -0700 @@ -28,11 +28,11 @@ }.to raise_error( ArgumentError, /unknown list/i ) end - it 'raises error if thread indexing is disabled' do - expect( list ).to receive( :threaded? ).and_return( false ) + it 'raises error if thread archiving is disabled' do + expect( list ).to receive( :archived? ).and_return( false ) expect { described_class.new( list, author_id ) - }.to raise_error( RuntimeError, /indexing is not enabled/i ) + }.to raise_error( RuntimeError, /archiving is not enabled/i ) end it 'raises error if passed a malformed author ID' do @@ -43,7 +43,7 @@ it 'raises error when unable to read index file' do allow( list ).to receive( :listdir ).and_return( Pathname('/nope') ) - expect( list ).to receive( :threaded? ).and_return( true ) + expect( list ).to receive( :archived? ).and_return( true ) expect { described_class.new( list, author_id ) }.to raise_error( RuntimeError, /unknown author/i )