diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2018-04-09 01:51:16 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2018-04-09 01:51:16 -0600 |
| commit | 925dc11c78cea570241344af69780bfbb720aa61 (patch) | |
| tree | 87f471b0b534505621ba813b5dbb2ce8ba119d72 /test/text_test.rb | |
| parent | 8f12831e50668c54a463c84f2ab3a9df04e3fc01 (diff) | |
delegate to test helper method to resolve test directory and fixture paths
Diffstat (limited to 'test/text_test.rb')
| -rw-r--r-- | test/text_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/text_test.rb b/test/text_test.rb index c5328537..f1591447 100644 --- a/test/text_test.rb +++ b/test/text_test.rb @@ -44,7 +44,7 @@ context "Text" do input = <<-EOS include::fixtures/encoding.asciidoc[tags=romé] EOS - doc = empty_safe_document :base_dir => File.expand_path(File.dirname(__FILE__)) + doc = empty_safe_document :base_dir => testdir reader = Asciidoctor::PreprocessorReader.new doc, input, nil, :normalize => true block = Asciidoctor::Parser.next_block(reader, doc) output = block.convert |
