changeset 16 | e135ccae6783 |
parent 15 | a38e6916504c |
child 17 | 23c7f5c8ee39 |
--- a/spec/ezmlm/list_spec.rb Fri May 12 11:09:36 2017 -0700 +++ b/spec/ezmlm/list_spec.rb Fri May 12 16:17:41 2017 -0700 @@ -341,6 +341,11 @@ expect( list.author('ojjhjlapnejjlbcplabi') ).to be_a( Ezmlm::List::Author ) end + it 'fetches author objects by email address' do + author = list.author( 'ojjhjlapnejjlbcplabi' ) + expect( list.author('yvette@example.net').name ).to eq( author.name ) + end + context 'fetching messages' do it 'raises an error if archiving is disabled' do