Add a "last activity" method to quickly determine when a list was last used. Bump version.

This commit is contained in:
Mahlon E. Smith 2017-05-24 15:42:39 -07:00
parent b463593c26
commit 33b3c08d75
3 changed files with 15 additions and 1 deletions

View file

@ -236,6 +236,10 @@ describe Ezmlm::List do
expect( list.digest_count ).to eq( 10 )
end
it 'knows the date of the most recent posting' do
expect( list.last_activity ).to be_a( Time )
end
it 'can set a new digest message count' do
list.digest_count = 25
expect( list.digest_count ).to eq( 25 )