Added confirmation that 'Search Results' appears

This commit is contained in:
Martyn James
2015-02-05 13:24:03 -05:00
parent 71d66316fc
commit 63e9bd55ba

View File

@@ -348,6 +348,7 @@ define([
this.listView.render();
expect(this.listView.$el.find('ol')[0]).toExist();
expect(this.listView.$el.find('li').length).toEqual(1);
expect(this.listView.$el).toContainHtml('Search Results');
expect(this.listView.$el).toContainHtml('this is a short excerpt');
this.collection.set(searchResults);