From 63e9bd55badb2bf2ee6e5f418d4a8b206f9103e4 Mon Sep 17 00:00:00 2001 From: Martyn James Date: Thu, 5 Feb 2015 13:24:03 -0500 Subject: [PATCH] Added confirmation that 'Search Results' appears --- lms/static/js/spec/search/search_spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lms/static/js/spec/search/search_spec.js b/lms/static/js/spec/search/search_spec.js index f8e7c67fd1..49a5636b0d 100644 --- a/lms/static/js/spec/search/search_spec.js +++ b/lms/static/js/spec/search/search_spec.js @@ -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);