test/test_epub3maker.rb in review-1.5.0 vs test/test_epub3maker.rb in review-1.6.0
- old
+ new
@@ -327,10 +327,12 @@
EOT
assert_equal expect, @output.string
end
def test_stage3_flat
- @producer.merge_params({"flattoc" => true, "flattocindent" => false})
+ @producer.merge_params({"epubmaker" =>
+ {"flattoc" => true, "flattocindent" => false}
+ })
stage3
@producer.mytoc(@output)
expect = <<EOT
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>