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:
parent
a9f718fe57
commit
ae1743c61f
157 changed files with 3262 additions and 2404 deletions
|
@ -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(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue