summaryrefslogtreecommitdiff
path: root/spec/quote_spec.rb
AgeCommit message (Collapse)Author
2022-10-30switch from EOS to END as heredoc delimiterDan Allen
2022-08-12support text alignment roles on verse blockDan Allen
2022-08-12support text alignment roles on styled paragraphsDan Allen
2022-07-19remove use of build_pdf_theme except where neededDan Allen
2022-06-18fix crash when border color is transparentDan Allen
2022-05-02remove debug flags in test suiteDan Allen
2022-04-30adjust top and bottom padding on quote and verse blocks in built-in themes ↵Dan Allen
(PR #2110)
2022-04-26resolves #2068 protect bottom padding of decorated blocks (PR #2073)Dan Allen
2022-04-18resolves #2054 rename blockquote category key in theme to quote (PR #2055)Dan Allen
remap old key with warning for backwards compatibility
2022-04-14resolves #1515 implement smart block bottom margins to prevent extra space ↵Dan Allen
below blocks, particularly nested blocks (PR #2028)
2022-04-12remove debug tags from test suite [skip ci]Dan Allen
2022-04-11verify correct padding is applied around content of quote 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
2020-08-25consistently use "be" matcher to assert page numberDan Allen
2020-08-22verify substitutions are applied to attribution and citetitle attributes ↵Dan Allen
enclosed in single quotes on quote block
2020-06-27verify behavior when not enough room for caption of split quote blockDan Allen
2020-05-23test case when both left border width and border width for quote and verse ↵Dan Allen
are nil
2020-05-23verify border left is not used on quote or verse if nilDan Allen
2020-05-12use single-quoted heredoc where possibleDan Allen
2020-04-27resolves #1662 escape bare ampersand in attribution and citetitle of quote ↵Dan Allen
or verse block (PR #1664)
2020-03-29verify block title is shown above border on quote and verse blockDan Allen
2020-01-25add test for attribution line in quote and verse blocksDan Allen
2020-01-01delegate to method to fill and stroke bounds of quote and verse blockDan Allen
2019-12-31resolves #1309 allow theme to specify background color and full border for ↵Dan Allen
quote and verse blocks (PR #1457)
2019-12-04fix test failures in JRubyDan Allen
2019-12-03add and customize dedicated linter rules for rspecDan Allen
2019-12-03enforce magic comment for frozen string literalDan Allen
2019-10-09add test to verify border on quote block doesn't spill to next pageDan Allen
2019-10-09add test for title on quote and verse blocksDan Allen
2019-10-08test that left border on quote and verse is not drawn if border_width is 0Dan Allen