test/options_test.rb in asciidoctor-1.5.1 vs test/options_test.rb in asciidoctor-1.5.2
- old
+ new
@@ -75,10 +75,10 @@
assert_equal 'value=value', options[:attributes]['name']
end
test 'should allow safe mode to be specified' do
- options = Asciidoctor::Cli::Options.parse!(%w(-S safe /dev/null))
+ options = Asciidoctor::Cli::Options.parse!(%w(-S safe test/fixtures/sample.asciidoc))
assert_equal Asciidoctor::SafeMode::SAFE, options[:safe]
end
test 'should allow any backend to be specified' do
options = Asciidoctor::Cli::Options.parse!(%w(-b my_custom_backend test/fixtures/sample.asciidoc))