diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2013-09-09 05:01:16 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2013-09-09 05:02:09 -0600 |
| commit | a75f8479649a4ed4046bb1535cdd286cc2266519 (patch) | |
| tree | 51301bbfbbf8bab9d1b26dd0bcaeca267beaf9d2 /test/reader_test.rb | |
| parent | 9a2b7e9ce2bc4bec8de547f911c61fda5bdeea7e (diff) | |
use non-https url in remote include test
Diffstat (limited to 'test/reader_test.rb')
| -rw-r--r-- | test/reader_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/reader_test.rb b/test/reader_test.rb index abc708a3..6eb08efe 100644 --- a/test/reader_test.rb +++ b/test/reader_test.rb @@ -502,12 +502,12 @@ include::fixtures/no-such-file.ad[] test 'include macro can retrieve data from uri' do input = <<-EOS .... -include::https://raw.github.com/asciidoctor/asciidoctor/master/LICENSE[] +include::http://asciidoctor.org/humans.txt[] .... EOS output = render_embedded_string input, :safe => :safe, :attributes => {'allow-uri-read' => ''} - assert_match(/MIT/, output) + assert_match(/Asciidoctor/, output) end test 'inaccessible uri referenced by include macro does not crash processor' do |
