summaryrefslogtreecommitdiff
path: root/features/pass_block.feature
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2014-02-20 04:29:02 -0700
committerDan Allen <dan.j.allen@gmail.com>2014-02-26 14:04:41 -0700
commitd98c8e9cd5e5793fdab6da7a0a6f37eb8349878b (patch)
tree4a5993b8e23f787017e1abcac51dce3ded60d4d9 /features/pass_block.feature
parent0c4a21b4ade1df7767986c9bce84a7c3fdbee3c9 (diff)
resolves #778, rewrite converter API; resolves #638, integrate thread_safe gem
- rewrite converter API - separate built-in converters from template converter - rename renderer/render to converter/convert - make converter an extension point (resolves #778) - base built-in converters on the converter API - rename template_name property to node_name on AbstractNode - make block_ prefix on file name of block-level templates optional - use thread_safe gem for template and converter caches (resolves #638) - introduce Stylesheets API to manage stylesheets - move file write logic to Document - delegate file write logic to converter that implements Writer - remove compact logic, deprecate related options - duplicate options and attributes passed to APIs, add tests - assign doctype / backend attributes correctly when document is loaded, add tests - report proper error if nil is passed to load_file and convert_file - use span tag to group kbd combination in html5 backend - setup toc in preamble if toc attribute is preamble - Opal compatibility fixes, use built-in HTML5 converter - make the outline method accessible to all html converters - document the converter APIs along with some minor cleanups in terminology - load stylesheets from data directory - rename ruler block to thematic_break - add inline? and block? query methods to AbstractNode - use Timings class to measure and report timings from processor steps - fix cucumber tests - upgrade tilt dependency to 2.0.0 - minor optimizations
Diffstat (limited to 'features/pass_block.feature')
-rw-r--r--features/pass_block.feature12
1 files changed, 6 insertions, 6 deletions
diff --git a/features/pass_block.feature b/features/pass_block.feature
index 24b7212d..77d4f8a8 100644
--- a/features/pass_block.feature
+++ b/features/pass_block.feature
@@ -16,8 +16,8 @@ Feature: Open Blocks
image:tiger.png[]
++++
"""
- When it is rendered using the html backend
- Then the output should match the HTML source
+ When it is converted to html
+ Then the result should match the HTML source
"""
<p>{name}</p>
@@ -36,8 +36,8 @@ Feature: Open Blocks
image:tiger.png[]
++++
"""
- When it is rendered using the docbook backend
- Then the output should match the XML source
+ When it is converted to docbook
+ Then the result should match the XML source
"""
<simpara>{name}</simpara>
@@ -57,8 +57,8 @@ Feature: Open Blocks
image:tiger.png[]
++++
"""
- When it is rendered using the html backend
- Then the output should match the HTML source
+ When it is converted to html
+ Then the result should match the HTML source
"""
<p>value</p>