summaryrefslogtreecommitdiff
path: root/test/blocks_test.rb
AgeCommit message (Collapse)Author
2024-03-07resolves #4556 set cloaked-context attribute on source block when context is ↵Dan Allen
not :listing (PR #4563)
2024-02-20change title to doctitle in warning message about use of abstract to make ↵Dan Allen
subject more clear
2024-02-19resolves #3602 move abstract inside info tag in DocBook output (PR #4508)Dan Allen
2023-10-30prefer option over attribute to control end behavior of wistia video (loop ↵Dan Allen
or reset, mutually exclusive)
2023-10-30change example wistia video in testsDan Allen
2023-10-30resolves #4492 add Wistia support to the video macro (PR #4488)Nabil Maynard
2023-04-30resolves #3929 treat uri:classloader: as absolute path prefix when running ↵Dan Allen
on JRuby (PR #4444)
2023-04-09change Block#content to return empty string instead of nil if raw or ↵Dan Allen
verbatim block has no lines * makes return value type consistent
2022-10-24remove more outdated workarounds in test suite for JRubyDan Allen
2022-10-24remove outdated workaround in test suite for JRuby heredoc bugDan Allen
2022-10-20use incremental subs in test caseDan Allen
2022-10-20add additional tests for #4306Dan Allen
2021-12-29fix lint errorDan Allen
2021-12-29assert expected requests in cache-uri testsDan Allen
2021-12-27resolves #4227 fix open-uri-cached integration on Ruby 3.1 (PR #4228)Dan Allen
2021-12-27add tests for open-uri/cached integration that is activated by the cache-uri ↵Dan Allen
attribute
2021-12-23Fix typos and misspellings in docs and code (PR #4222)Kian Meng, Ang
2021-11-10resolves #3656 add support for link=self to image macros (PR #4200)Dan Allen
2021-10-28resolves #4101 add support for role on thematic break to HTML converter (PR ↵Dan Allen
#4196)
2021-10-01resolves #4176 allow hash to be specified for Vimeo video either in video ID ↵Dan Allen
or using hash attribute (PR #4179)
2021-09-09resolves #4051 use CSS class instead of inline style to apply page break ↵Dan Allen
behavior (PR #4159)
2021-09-09resolves #4156 include primary video in value of playlist attribute when ↵Dan Allen
embedding YouTube video (PR #4157)
2021-07-31use single quoted string or use %() for interpolated string in test suiteDan Allen
2021-07-31omit_parentheses where possible in test codeDan Allen
2021-06-03drop unnecessary parentheses in a few places [skip ci]Dan Allen
2021-05-31use appropriate assertions in test suiteDan Allen
- assert_equal instead of == - assert instead of assert_equal true - refute instead of assert_equal false - specify literal value as first argument to assert_equal
2021-05-31use assert_empty/refute_empty where possible in test suiteDan Allen
2021-05-27remove extra empty line in test suiteDan Allen
2021-05-25use single-quoted strings where possible in test suiteDan Allen
2021-05-25use key? instead of has_key? in tests [skip ci]Dan Allen
2021-05-25fix missing spaces when defining hash and array in test suite [skip ci]Dan Allen
2021-04-30leave empty line after magic comment [skip ci]Dan Allen
2021-04-23resolves #4033 don't assign nil value to named attribute mapped to absent ↵Dan Allen
positional attribute when parsing attrlist (PR #4034)
2021-04-22add negative test to verify that the parser assigns a nil value to an ↵Dan Allen
attribute mapped to an empty positional attribute
2021-04-17resolves #4023 honor caption attribute on blocks that support captioned ↵Dan Allen
title even if *-caption document attribute is not set (PR #4026)
2021-04-14resolves #4013 increment counter (but not the corresponding attribute) if ↵Dan Allen
attribute is locked (PR #4015)
2020-11-08resolves #3829 fix crash when inlining an SVG if the explicit width or ↵Dan Allen
height value on the image node is not a string (PR #3835) - the width or height value could be coming from an extension, such as Asciidoctor Diagram
2020-11-04add tests for built-in eqnums attributeDan Allen
2020-07-19resolves #3639 prevent collapsible block from incrementing example number ↵Dan Allen
(PR #3719) * assign an empty caption
2020-07-17resolves #3638 warn instead of crashing if SVG to inline is empty (PR #3700)Guillaume Grossetie
2019-12-06resolves #3464 honor percentage width specified on macro of inline SVG (PR ↵Dan Allen
#3501)
2019-09-16resolves #3407 remove excess hard line break in multi-line AsciiMath blocks ↵Dan Allen
(PR #3417)
2019-09-09resolves #3408 add support for muted option on self-hosted video (PR #3411)Dan Allen
2019-06-21resolves #3319 preserve guard around XML-style callout when icons are ↵Dan Allen
disabled (PR #3343)
2019-05-21resolves #3308 honor image value for icons attributeDan Allen
- image value should be equivalent to empty string
2019-04-04replace calls to File.extname with Helpers.extname (PR #3240)Dan Allen
2019-03-25fix message in test when asciimath is not available (PR #3204)Todd Zullinger
Ensure the text in the asciimath tests matches what we output from asciidoctor/helpers.
2019-03-25resolves #3202 convert cataloged titles containing attribute references ↵Dan Allen
eagerly (PR #3203) - convert titles of cataloged block and section nodes containing attribute references eagerly to resolve attributes while in scope - consolidate all processing of title and caption for block at end of next_block - add tests to verify behavior
2019-03-25remove unused reftexts catalog entry assertions [skip ci]Dan Allen
2019-03-22resolves #1117 automatically promote a listing block without an explicit ↵Dan Allen
style to a source block if language is set (PR #3184)