test/toto_test.rb in toto-0.2.7 vs test/toto_test.rb in toto-0.2.8
- old
+ new
@@ -81,10 +81,10 @@
context "creating an article" do
setup do
@config[:markdown] = true
@config[:date] = lambda {|t| "the time is #{t.strftime("%Y/%m/%d %H:%M")}" }
- @config[:summary] = 50
+ @config[:summary] = {:length => 50}
end
context "with the bare essentials" do
setup do
Toto::Article.new({