Sha256: 2afbcb146e8e9170d5d11624eca4dc7cb188662f605e7667f1755b1788d1f4b0
Contents?: true
Size: 399 Bytes
Versions: 5
Compression:
Stored size: 399 Bytes
Contents
require './spec/spec_helper' describe Rollin::Blog do context 'reading articles from articles folder' do subject (:blog) { Rollin::Blog.new(articles_folder: 'spec/fixtures/articles') } it 'has the right amount of articles' do blog.articles.size.should == 3 end it 'has the right amount of monthly archives' do blog.monthly_archive.size.should == 2 end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
rollin-0.0.11 | spec/blog_spec.rb |
rollin-0.0.10 | spec/blog_spec.rb |
rollin-0.0.8 | spec/blog_spec.rb |
rollin-0.0.7 | spec/blog_spec.rb |
rollin-0.0.6 | spec/blog_spec.rb |