Skip to content

Commit 0c9dce5

Browse files
authored
Merge branch 'main' into ls/graceful-irb-notifier
2 parents 9d41ec4 + 66672ae commit 0c9dce5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/templates/helpers/html_helper_spec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ def options
189189
end
190190

191191
it "sets env and env-yard attributes (AsciiDoc specific)" do
192+
skip "Missing asciidoctor gem" if markup_class(:asciidoc).nil?
193+
192194
adoc = <<-EOF.strip.gsub(/^ +/, "") # strip and unindent
193195
ifdef::env[]
194196
Attribute "env" is set, and its value is "{env}".
@@ -204,6 +206,8 @@ def options
204206
end
205207

206208
it "should not include the document title from the AsciiDoc header" do
209+
skip "Missing asciidoctor gem" if markup_class(:asciidoc).nil?
210+
207211
adoc = <<-EOF.strip.gsub(/^ +/, "") # strip and unindent
208212
= Project Name
209213

0 commit comments

Comments
 (0)