Skip to content
Snippets Groups Projects
Commit 378293ca authored by jlf44's avatar jlf44
Browse files

Update test

parent cb99fade
Branches
Tags
No related merge requests found
...@@ -510,7 +510,7 @@ describe('BookView', function() { ...@@ -510,7 +510,7 @@ describe('BookView', function() {
}); });
it('stitches right-to-left', function() { it('stitches right-to-left', function() {
subject.viewingDirection = 'right-to-left'; subject.viewingDirection = 'right-to-left';
expect(subject.getStitchList()).toEqual([this.imagesList[4], this.imagesList[3]]); expect(subject.getStitchList()).toEqual([this.imagesList[3], this.imagesList[4]]);
}); });
it('stitches top-down', function() { it('stitches top-down', function() {
subject.viewingDirection = 'top-to-bottom'; subject.viewingDirection = 'top-to-bottom';
...@@ -533,7 +533,7 @@ describe('BookView', function() { ...@@ -533,7 +533,7 @@ describe('BookView', function() {
}); });
it('stitches right-to-left', function() { it('stitches right-to-left', function() {
subject.viewingDirection = 'right-to-left'; subject.viewingDirection = 'right-to-left';
expect(subject.getStitchList()).toEqual([this.imagesList[6], this.imagesList[5]]); expect(subject.getStitchList()).toEqual([this.imagesList[5], this.imagesList[6]]);
}); });
it('stitches top-down', function() { it('stitches top-down', function() {
subject.viewingDirection = 'top-to-bottom'; subject.viewingDirection = 'top-to-bottom';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment