summaryrefslogtreecommitdiff
path: root/spec/cli_spec.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2020-09-28 23:58:11 -0600
committerDan Allen <dan.j.allen@gmail.com>2020-09-29 14:32:47 -0600
commit1fc3faebfba39fc8d966d2be02b9a67f1bbb4d17 (patch)
tree6a1945cc463f7eeeaa575f129da10d841a8474fa /spec/cli_spec.rb
parent5fd09c0630400fee72d65733385e5e108d142568 (diff)
better group conditional tests
Diffstat (limited to 'spec/cli_spec.rb')
-rw-r--r--spec/cli_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/cli_spec.rb b/spec/cli_spec.rb
index 53ac5d47..5dfcb3f8 100644
--- a/spec/cli_spec.rb
+++ b/spec/cli_spec.rb
@@ -62,8 +62,8 @@ describe 'asciidoctor-pdf' do
run_command asciidoctor_pdf_bin, '-o', '-', (fixture_file 'book.adoc'), out: (to_file = output_file 'book.pdf')
(expect Pathname.new to_file).to exist
(expect { PDF::Reader.new to_file }).not_to raise_exception
- end unless windows? && RUBY_ENGINE == 'jruby'
- end
+ end
+ end unless windows? && RUBY_ENGINE == 'jruby'
context 'pdfmark' do
it 'should generate pdfmark file if pdfmark attribute is set', cli: true do