mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 21:57:50 +08:00
FEATURE: improves select-box to support category selection on new topic
This commit is contained in:
@ -99,7 +99,7 @@ QUnit.test("Reply as new topic", assert => {
|
||||
"it fills composer with the ring string"
|
||||
);
|
||||
assert.equal(
|
||||
find('.category-combobox').select2('data').text, "feature",
|
||||
find('.category-select-box .select-box-header .current-selection').html().trim(), "feature",
|
||||
"it fills category selector with the right category"
|
||||
);
|
||||
});
|
||||
|
Reference in New Issue
Block a user