summaryrefslogtreecommitdiff
path: root/spec/example_spec.rb
AgeCommit message (Collapse)Author
2022-05-17resolves #1730 allow theme to position caption for code and example blocks ↵Dan Allen
below block using caption-end key (PR #2180)
2022-05-04resolves #2134 use base-border-color as default border color (PR #2136)Dan Allen
2022-04-30resolves #2103 cap border corners on block when width is defined using array ↵Dan Allen
(uniform or otherwise) (PR #2105)
2022-04-26resolves #2068 protect bottom padding of decorated blocks (PR #2073)Dan Allen
2022-04-12remove debug tags from test suite [skip ci]Dan Allen
2022-04-11verify correct padding is applied around content of example blockDan Allen
2022-04-05resolves #2003 compute extent of content in scratch document to arrange ↵Dan Allen
content block in primary document * introduce arrange_block helper to handle positioning content block in primary document * reimplement new dry_run to compute the extent and start position of the content block instead of just the height * stop rendering at page boundary in scratch document when computing start position of content block to avoid unnecessary work * ensure that caption stays with start of content block when arranging content block * prevent arrange_block from starting content block on page when no content from block fits on that page * avoid converting content that overruns page in AsciiDoc table cell in scratch document * encapsulate push/pop scratch in arrange_block * add tests for the arrange_block helper * prevent nested breakable blocks from flowing beyond first page when performing on single page only * switch dry_run method to accept keyword arguments * avoid arrange_block when converting open block when possible * include negative tests for image taller than page at top of block * verify borders and backgrounds are not drawn in scratch document * add test to verify behavior of stop_if_first_page_empty * include sanity check before drawing background and border over extent * add rdoc to dry_run and arrange_block help methods * reuse computed extent as TOC extent * remove unused code * raise error if table caption does not fit on single page * add test that footnotes are not pushed down if height exceeds height of page
2022-02-28fix test description [skip ci]Dan Allen
2020-07-04add support for text decoration to captionDan Allen
2020-04-25resolves #1660 use informal title for collapsible block; don't apply border, ↵Dan Allen
shading, or padding (PR #1661)
2020-03-03resolves #1586 allow theme to control border style of delimited blocks (PR ↵Dan Allen
#1587)
2020-01-01output block title for example even when background and border are not setDan Allen
2019-12-03add and customize dedicated linter rules for rspecDan Allen
2019-12-03enforce magic comment for frozen string literalDan Allen
2019-11-28move open block specs to dedicated spec fileDan Allen
2019-11-28resolves #1407 add an unbreakable option on open blocks (PR #1408)Guillaume Grossetie
The content of an unbreakable open block will be kept together on the same page (if it fits on one page).
2019-10-19make flags in test suite more fine-grainedDan Allen
- visual = visual integration test - cli = test that executes a CLI
2019-10-04resolves #307 allow theme to override caption styles for specific block ↵Dan Allen
categories (PR #1301)
2019-08-26verify signifier and numeral are not added to example block caption if ↵Dan Allen
example-caption attribute is unset
2019-08-25resolves #362 fill and stroke bounds of example across all pages (PR #1227)Dan Allen