summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2018-04-22 05:12:42 -0600
committerDan Allen <dan.j.allen@gmail.com>2018-04-22 05:12:42 -0600
commit6ceda95d640d677ec15fb4ecd02451b7671b3259 (patch)
treed64ab0a1141f34ab99a01118d17283493d85ec4e
parentd9068a468cfd33b287507a8abc52ff5d83a10009 (diff)
remove outdated workaround in api test
-rw-r--r--test/api_test.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/api_test.rb b/test/api_test.rb
index 60e443d2..a40d708f 100644
--- a/test/api_test.rb
+++ b/test/api_test.rb
@@ -828,8 +828,7 @@ text
fixture_parent_path = File.dirname fixture_base_path
sample_output_relpath = File.join 'fixtures', 'basic.html'
begin
- # FIXME we shouldn't need unsafe here since combined file is within jail
- doc = Asciidoctor.convert_file sample_input_path, :to_dir => fixture_parent_path, :to_file => sample_output_relpath, :safe => :unsafe
+ doc = Asciidoctor.convert_file sample_input_path, :to_dir => fixture_parent_path, :to_file => sample_output_relpath
assert_equal fixture_base_path, doc.options[:to_dir]
ensure
FileUtils.rm(sample_output_path)