Skip to content

Instantly share code, notes, and snippets.

@m2web
Created June 27, 2013 23:32
Jasmine DateSortSpec2.js
it("should show Wisdom title with descending sort", function() {
var sortedDesc = dateSort.sortedDesc(booksData);
var sortedTitle = sortedDesc[0]['title'];
expect(sortedTitle).toEqual('Wisdom');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment