Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

Commit

Permalink
Merge 519162e into a146af7
Browse files Browse the repository at this point in the history
  • Loading branch information
TomSeldon committed Oct 25, 2015
2 parents a146af7 + 519162e commit 5b4e585
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions app/components/office/office.factory.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
describe('office factory', function() {
var mockOffice;

beforeEach(module('word-to-markdown.office'));

beforeEach(module(function($provide) {
mockOffice = {};

$provide.value('$window', {
Office: mockOffice
});
}));

it('should expose the global Office object', inject(function(office) {
expect(office).toBe(mockOffice);
}));
});

0 comments on commit 5b4e585

Please sign in to comment.