[Pkg-javascript-commits] [pdf.js] 136/210: Add unit test for getData
    David Prévot 
    taffit at moszumanska.debian.org
       
    Thu Jun  5 14:21:10 UTC 2014
    
    
  
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch upstream
in repository pdf.js.
commit e00b986bd35856a86b07739284ae6431c46e5693
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date:   Wed May 14 11:57:48 2014 +0200
    Add unit test for getData
---
 test/unit/api_spec.js | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/test/unit/api_spec.js b/test/unit/api_spec.js
index ff22860..2e60386 100644
--- a/test/unit/api_spec.js
+++ b/test/unit/api_spec.js
@@ -86,6 +86,12 @@ describe('api', function() {
         expect(metadata.metadata.get('dc:title')).toEqual('Basic API Test');
       });
     });
+    it('gets data', function() {
+      var promise = doc.getData();
+      waitsForPromise(promise, function (data) {
+        expect(true).toEqual(true);
+      });
+    });
   });
   describe('Page', function() {
     var resolvePromise;
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git
    
    
More information about the Pkg-javascript-commits
mailing list