ES6: More components moved over.

This commit is contained in:
Robin Ward
2014-05-30 12:16:23 -04:00
parent 941b5f919f
commit 1af2ff6201
9 changed files with 25 additions and 18 deletions

View File

@ -71,10 +71,10 @@ test("displays a list of notifications and a 'more' link when there are notifica
var items = fixture(itemSelector);
equal(count(items), 3, "number of list items is correct");
equal(items.eq(0).attr("class"), "", "first (unread) item has proper class");
equal(items.eq(0).attr("class"), "ember-view", "first (unread) item has proper class");
equal(items.eq(0).text().trim(), "scope_1 username_1 link_1", "first item has correct content");
equal(items.eq(1).attr("class"), "read", "second (read) item has proper class");
equal(items.eq(1).attr("class"), "ember-view read", "second (read) item has proper class");
equal(items.eq(1).text().trim(), "scope_2 username_2 link_2", "second item has correct content");
var moreLink = items.eq(2).find("> a");