diff options
author | Phil Hughes <me@iamphill.com> | 2017-05-02 07:35:49 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-05-02 07:35:49 +0000 |
commit | 54beb93ac30371c978d80b03a8e0c386ca75fdb5 (patch) | |
tree | 092ced9ac8be0fd65c9bcde947bf26b3443bb11d /spec/javascripts/blob | |
parent | 8100f9686dcd729f42d14e86cb9b36b403e036ac (diff) | |
parent | 9f3985c6133507ac721abbb4c19049656008ec68 (diff) | |
download | gitlab-ce-54beb93ac30371c978d80b03a8e0c386ca75fdb5.tar.gz |
Merge branch 'pdflab-in-repo' into 'master'
Move PDFLab assets into repo
See merge request !10642
Diffstat (limited to 'spec/javascripts/blob')
-rw-r--r-- | spec/javascripts/blob/pdf/index_spec.js | 6 | ||||
-rw-r--r-- | spec/javascripts/blob/pdf/test.pdf | bin | 11956 -> 0 bytes |
2 files changed, 4 insertions, 2 deletions
diff --git a/spec/javascripts/blob/pdf/index_spec.js b/spec/javascripts/blob/pdf/index_spec.js index d3a4d04345b..bbeaf95e68d 100644 --- a/spec/javascripts/blob/pdf/index_spec.js +++ b/spec/javascripts/blob/pdf/index_spec.js @@ -1,5 +1,7 @@ +/* eslint-disable import/no-unresolved */ + import renderPDF from '~/blob/pdf'; -import testPDF from './test.pdf'; +import testPDF from '../../fixtures/blob/pdf/test.pdf'; describe('PDF renderer', () => { let viewer; @@ -59,7 +61,7 @@ describe('PDF renderer', () => { describe('error getting file', () => { beforeEach((done) => { - viewer.dataset.endpoint = 'invalid/endpoint'; + viewer.dataset.endpoint = 'invalid/path/to/file.pdf'; app = renderPDF(); checkLoaded(done); diff --git a/spec/javascripts/blob/pdf/test.pdf b/spec/javascripts/blob/pdf/test.pdf Binary files differdeleted file mode 100644 index eb3d147fde3..00000000000 --- a/spec/javascripts/blob/pdf/test.pdf +++ /dev/null |