mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
select-box minor fixes
This commit is contained in:
@ -87,7 +87,7 @@ componentTest('customisable icon', {
|
||||
template: '{{select-box icon="shower"}}',
|
||||
|
||||
test(assert) {
|
||||
assert.equal(find(".select-box-header .icon").html().trim(), "<i class=\"fa fa-shower d-icon d-icon-shower\"></i>", "it has a the correct icon");
|
||||
assert.equal(find(".select-box-header .icon").hasClass("d-icon-shower"), true, "it has a the correct icon");
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user