diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2018-04-08 23:51:15 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2018-04-08 23:51:15 -0600 |
| commit | eebcac420a22f559e85c2c0a067e368de2de5d43 (patch) | |
| tree | 5f75c101ff553be76b13c32d02eca2b9dac60ebb /test/converter_test.rb | |
| parent | ae062525fe6055d8ce0c18d2fb74af8a538b8e09 (diff) | |
purge render method from test suite (except to verify alias)
- replace use of render method with convert method
Diffstat (limited to 'test/converter_test.rb')
| -rw-r--r-- | test/converter_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/converter_test.rb b/test/converter_test.rb index bc7ba607..272f01bd 100644 --- a/test/converter_test.rb +++ b/test/converter_test.rb @@ -113,21 +113,21 @@ context 'Converter' do test 'should set outfilesuffix according to backend info' do doc = Asciidoctor.load 'content' - doc.render + doc.convert assert_equal '.html', doc.attributes['outfilesuffix'] doc = Asciidoctor.load 'content', :template_dir => File.join(File.dirname(__FILE__), 'fixtures', 'custom-backends', 'haml'), :template_cache => false - doc.render + doc.convert assert_equal '.html', doc.attributes['outfilesuffix'] end test 'should not override outfilesuffix attribute if locked' do doc = Asciidoctor.load 'content', :attributes => {'outfilesuffix' => '.foo'} - doc.render + doc.convert assert_equal '.foo', doc.attributes['outfilesuffix'] doc = Asciidoctor.load 'content', :template_dir => File.join(File.dirname(__FILE__), 'fixtures', 'custom-backends', 'haml'), :template_cache => false, :attributes => {'outfilesuffix' => '.foo'} - doc.render + doc.convert assert_equal '.foo', doc.attributes['outfilesuffix'] end |
