Sha256: 7e7b930fc3e6456bf59698619dfb82b5697e573eee1250349041f50e5dc40b64
Contents?: true
Size: 432 Bytes
Versions: 10
Compression:
Stored size: 432 Bytes
Contents
describe Rollin::MonthArchive do let (:article) { Rollin::Article.new('spec/fixtures/2013_05_01_My_first_post.mk') } subject (:month_archive) { Rollin::MonthArchive.new(2013, 05, [ article ]) } it 'tells the year' do month_archive.year.should == 2013 end it 'tells the month' do month_archive.month.should == 5 end it 'has a list of articles' do month_archive.articles.first.should == article end end
Version data entries
10 entries across 10 versions & 1 rubygems