test/test_markdownbuilder.rb in review-1.2.0 vs test/test_markdownbuilder.rb in review-1.3.0
- old
+ new
@@ -9,16 +9,16 @@
class MARKDOWNBuilderTest < Test::Unit::TestCase
include ReVIEW
def setup
@builder = MARKDOWNBuilder.new()
- @param = {
+ @config = {
"secnolevel" => 2, # for IDGXMLBuilder, HTMLBuilder
"inencoding" => "UTF-8",
"outencoding" => "UTF-8",
"stylesheet" => nil, # for HTMLBuilder
}
- ReVIEW.book.param = @param
+ ReVIEW.book.config = @config
@compiler = ReVIEW::Compiler.new(@builder)
@chapter = Book::Chapter.new(Book::Base.new(nil), 1, '-', nil, StringIO.new)
location = Location.new(nil, nil)
@builder.bind(@compiler, @chapter, location)
end