diff options
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/formatted_text_transform_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/formatted_text_transform_spec.rb b/spec/formatted_text_transform_spec.rb index ba0e31cc..8a998003 100644 --- a/spec/formatted_text_transform_spec.rb +++ b/spec/formatted_text_transform_spec.rb @@ -82,7 +82,7 @@ describe Asciidoctor::PDF::FormattedText::Transform do end it 'should create fragment with custom hex color' do - input = '<color rgb="#ff0000">red</color>' + input = '<font color="#ff0000">red</font>' parsed = parser.parse input fragments = subject.apply parsed.content (expect fragments).to have_size 1 @@ -91,7 +91,7 @@ describe Asciidoctor::PDF::FormattedText::Transform do end it 'should create fragment with custom cmyk color' do - input = '<color rgb="[50.5, 100, 0, 0]">color</color>' + input = '<font color="[50.5, 100, 0, 0]">color</font>' parsed = parser.parse input fragments = subject.apply parsed.content (expect fragments).to have_size 1 |
