2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

[WIP] select-box-kit refactoring

This commit is contained in:
Joffrey JAFFEUX 2017-10-19 12:51:08 -07:00 committed by GitHub
parent a9f718fe57
commit ae1743c61f
157 changed files with 3262 additions and 2404 deletions

View file

@ -25,11 +25,11 @@ componentTest('updating the content refreshes the list', {
expandSelectBox();
andThen(() => assert.equal(selectBox().selectedRow.el().find(".title").text(), "Pinned") );
andThen(() => assert.equal(selectBox().selectedRow.name(), "Pinned") );
andThen(() => {
this.set("topic.pinned", false);
assert.equal(selectBox().selectedRow.el().find(".title").text(), "Unpinned");
assert.equal(selectBox().selectedRow.name(), "Unpinned");
});
andThen(() => {