test/test_i18n.rb in review-1.2.0 vs test/test_i18n.rb in review-1.3.0
- old
+ new
@@ -47,16 +47,16 @@
end
def _setup_htmlbuilder
I18n.i18n "en"
@builder = HTMLBuilder.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