Add unit test for getData
This commit is contained in:
parent
3051667397
commit
e00b986bd3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user