select-box minor fixes

This commit is contained in:
Joffrey JAFFEUX
2017-08-25 19:56:57 +02:00
committed by GitHub
parent 075cc1a8bb
commit 14f06c2740
10 changed files with 188 additions and 173 deletions

View File

@ -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");
}
});