Skip to content

Commit

Permalink
qa:fix UT
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybesson committed Jan 27, 2017
1 parent df78dbd commit 0ea431d
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions test/cms/data/sort.js
Expand Up @@ -17,20 +17,12 @@ describe('Sort', function() {
}.bind(this))
});

/**
* cmsData.sort.byDateAsc
*
*/
it('cmsData.sort.byDateAsc', function() {
var list = Manager.instance.getList()
list.sort(cmsData.sort.byDateAsc)
chai.expect(list[0].name).to.contain('article-1');
chai.expect(list[0].name).to.contain('homepage-1');
});

/**
* cmsData.sort.byDateDesc
*
*/
it('cmsData.sort.byDateDesc', function() {
var list = Manager.instance.getList()
list.sort(cmsData.sort.byDateDesc)
Expand Down

0 comments on commit 0ea431d

Please sign in to comment.